Spaces:
Sleeping
Sleeping
Dhrumit1314
commited on
Commit
•
bac84ae
1
Parent(s):
2bc06fa
Update app.py
Browse files
app.py
CHANGED
@@ -23,9 +23,6 @@ from spacy.lang.en.stop_words import STOP_WORDS
|
|
23 |
import huggingface_hub as hf_hub
|
24 |
from huggingface_hub import HfApi, HfFolder
|
25 |
|
26 |
-
# Change the directory to the backend folder
|
27 |
-
# os.chdir("E:/Centennial/SEMESTER 6/Software Development Project/backend/")
|
28 |
-
|
29 |
# Create a Flask app
|
30 |
app = Flask(__name__)
|
31 |
CORS(app)
|
@@ -79,7 +76,7 @@ def upload_video():
|
|
79 |
token = folder.get_token()
|
80 |
|
81 |
# Specify your namespace (username or organization name)
|
82 |
-
namespace = "Dhrumit1314
|
83 |
|
84 |
# Upload the video file
|
85 |
video_file_id = api.upload_file(
|
|
|
23 |
import huggingface_hub as hf_hub
|
24 |
from huggingface_hub import HfApi, HfFolder
|
25 |
|
|
|
|
|
|
|
26 |
# Create a Flask app
|
27 |
app = Flask(__name__)
|
28 |
CORS(app)
|
|
|
76 |
token = folder.get_token()
|
77 |
|
78 |
# Specify your namespace (username or organization name)
|
79 |
+
namespace = "Dhrumit1314"
|
80 |
|
81 |
# Upload the video file
|
82 |
video_file_id = api.upload_file(
|