Dhrumit1314 commited on
Commit
75eec73
·
verified ·
1 Parent(s): 4b6ae46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -79,13 +79,6 @@ def upload_video():
79
  # Specify your namespace (username or organization name)
80
  namespace = "Dhrumit1314/videoUpload"
81
 
82
- # Check if the repository exists
83
- try:
84
- api.repo_info(namespace)
85
- except HTTPError:
86
- # If the repository does not exist, create it
87
- api.create_repo(token=token, name="videoUpload")
88
-
89
  # Upload the video file
90
  video_file_id = api.upload_file(
91
  token=token,
 
79
  # Specify your namespace (username or organization name)
80
  namespace = "Dhrumit1314/videoUpload"
81
 
 
 
 
 
 
 
 
82
  # Upload the video file
83
  video_file_id = api.upload_file(
84
  token=token,