Dhrumit1314 commited on
Commit
2bc06fa
1 Parent(s): 2cb150c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -84,7 +84,9 @@ def upload_video():
84
  # Upload the video file
85
  video_file_id = api.upload_file(
86
  token=token,
87
- path_or_fileobj=video_path
 
 
88
  )
89
 
90
  transcript = transcribe_audio(video_path)
 
84
  # Upload the video file
85
  video_file_id = api.upload_file(
86
  token=token,
87
+ path_or_fileobj=video_path,
88
+ repo_id=namespace, # replace with your repository ID
89
+ path_in_repo=video.filename # replace with the desired path in the repository
90
  )
91
 
92
  transcript = transcribe_audio(video_path)