Spaces:
Runtime error
Runtime error
some fixes
Browse files- app.py +0 -3
- requirements.txt +1 -1
app.py
CHANGED
@@ -7,9 +7,6 @@ from gtts import gTTS
|
|
7 |
import shutil
|
8 |
from pytube import YouTube
|
9 |
|
10 |
-
os.environ["HF_TOKEN"] = "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"
|
11 |
-
notebook_login()
|
12 |
-
|
13 |
pipe = pipeline(model="nelanbu/ID2223_Lab2_Whisper") # change to "your-username/the-name-you-picked"
|
14 |
|
15 |
|
|
|
7 |
import shutil
|
8 |
from pytube import YouTube
|
9 |
|
|
|
|
|
|
|
10 |
pipe = pipeline(model="nelanbu/ID2223_Lab2_Whisper") # change to "your-username/the-name-you-picked"
|
11 |
|
12 |
|
requirements.txt
CHANGED
@@ -2,5 +2,5 @@ gradio
|
|
2 |
transformers
|
3 |
gTTS
|
4 |
deep-translator
|
5 |
-
|
6 |
pytube
|
|
|
2 |
transformers
|
3 |
gTTS
|
4 |
deep-translator
|
5 |
+
httpx==0.24.1
|
6 |
pytube
|