Docfile commited on
Commit
0f57b67
·
verified ·
1 Parent(s): 05588a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def describe_video(video_file):
9
  try:
10
 
11
  print(f"Uploading file...")
12
- uploaded_video = genai.upload_file(path=video_file.name)
13
  print(f"Completed upload: {uploaded_video.uri}")
14
 
15
  import time
 
9
  try:
10
 
11
  print(f"Uploading file...")
12
+ uploaded_video = genai.upload_file(path=video_file)
13
  print(f"Completed upload: {uploaded_video.uri}")
14
 
15
  import time