Sheroze Ajmal • over 1 year ago
Summarization API stopped working - URGENT
i was playing around with the summarization api and everything was working. i was able to run demos, etc., but now it says it's available but can't run on my system. please help.
note: I didn't update anything. everything is exactly as it was before when It was working
Comments are closed.

3 comments
Private user • over 1 year ago
There is recent change in API.
Try with `self`
Compare your code line by line and update as per this example:
https://developer.chrome.com/docs/ai/summarizer-api#:~:text=The%20following%20example%20demonstrates%20how%20to%20initialize%20the%20summarizer.
Make sure to
1. enable via chrome://flags/#summarization-api-for-gemini-nano
2. chrome://components/ Optimization Guide On Device Model , Check for latest update.
Beepys Bots • over 1 year ago
What about Prompt API? My code stopped working with this error: "AI model not available." and this warning: "The model was available but there was not an execution config available for the feature."
Conor Kirby • over 1 year ago
I keep getting the following errors now too:
The model took too long too many times for this version.
The session cannot be created.