Use response.text and response.data
Use response.text and response.data
Also:
live_api_starter.ipynb
- Use
enumerateinstead offirst - Give option to pass
turns=when creating the autio loop so it can run without interaction.
live_api_starter.py
- Use a single output message queue
- Cleanup the exception handling
- fix BGR2RGB ( like https://github.com/google-gemini/cookbook/pull/338 )
- Limit output queue size
exception_on_overflow=Falsewhen debugging so it doesn't crash as sook as you pause.
websockets/live_api_starter.py
- Use a single oputput message queue
- Cleanup the exception handling
README.md
- Mention video out.
Check out this pull request on ![]()
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
View / edit / reply to this conversation on ReviewNB
Giom-V commented on 2024-12-12T14:50:12Z ----------------------------------------------------------------
Line #15. async def aenumerate(it):
Typo? It not maybe you should name it differently?
MarkDaoust commented on 2024-12-12T22:37:26Z ----------------------------------------------------------------
Any suggestions? async_enumerate?
Giom-V commented on 2024-12-15T12:59:35Z ----------------------------------------------------------------
I think it would be clearer yes.