Open uezhenxiang2023 opened 2 months ago
Hi @uezhenxiang2023, apologies you're running into issues with the colab locally. Maybe you can try running the python script directly: https://github.com/google-gemini/cookbook/blob/main/quickstarts/file-api/sample.py
Let me know if that helps and it should help us understand why you're running into this
Hi @uezhenxiang2023, apologies you're running into issues with the colab locally. Maybe you can try running the python script directly: https://github.com/google-gemini/cookbook/blob/main/quickstarts/file-api/sample.py
Let me know if that helps and it should help us understand why you're running into this
Hi @TYMichaelChen , Really appreciate for your quick reply.The same TimeoutError occured while running the sample.py locally.
Hi, I got a TimeoutError while executing the File_API.ipynb locally on my Macbook Pro. I can list the models with genai.list_model() request:
But the error poped after running the following line:
Here is the Traceback
And I double checked the image is downloaded successfully above the upload_file request cell:
This problem has been tormenting me for two days,I tried different ways to solve it but make no sense. Look forward to get some suggestion here. Sincere thanks!