Tried with gemini-pro-vision and gemini-1.5-flash, the status of the uploaded file using genai.genai.upload_file() is in processing and is not changing. Is someone else facing this issue? It successful once in the beginning and since then it is failing. Help much appreciated.
Some people have been experiencing issues with using the Video feature. I would try again later and see if it works.
it is working now. Sorry for the false alarm.
I have also been facing this issue for a video file (.mp4) that is 10mb and 2minutes long.
code
uploaded_file = genai.upload_file(
file_path, mime_type=mime_type, display_name=display_name
)
while uploaded_file.state.name != "ACTIVE":
print(f"[{uploaded_file.state.name}] {display_name}")
time.sleep(1)
console - repeat x600
[PROCESSING] First Pass Video Solution