Spaces:
Runtime error
Runtime error
Merge pull request #221 from jhj0517/fix/pytube-bug
Browse files- modules/utils/youtube_manager.py +1 -1
- notebook/whisper-webui.ipynb +2 -3
- requirements.txt +1 -1
modules/utils/youtube_manager.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
from
|
| 2 |
import os
|
| 3 |
|
| 4 |
|
|
|
|
| 1 |
+
from pytubefix import YouTube
|
| 2 |
import os
|
| 3 |
|
| 4 |
|
notebook/whisper-webui.ipynb
CHANGED
|
@@ -55,9 +55,8 @@
|
|
| 55 |
"!pip install git+https://github.com/jhj0517/jhj0517-whisper.git\n",
|
| 56 |
"!pip install faster-whisper==1.0.3\n",
|
| 57 |
"!pip install gradio==4.29.0\n",
|
| 58 |
-
"# Temporal bug fix from https://github.com/jhj0517/Whisper-WebUI/issues/
|
| 59 |
-
"
|
| 60 |
-
"!pip install git+https://github.com/jhj0517/pytube-temporal-bug-fix\n",
|
| 61 |
"!pip install tokenizers==0.19.1\n",
|
| 62 |
"!pip install pyannote.audio==3.3.1"
|
| 63 |
]
|
|
|
|
| 55 |
"!pip install git+https://github.com/jhj0517/jhj0517-whisper.git\n",
|
| 56 |
"!pip install faster-whisper==1.0.3\n",
|
| 57 |
"!pip install gradio==4.29.0\n",
|
| 58 |
+
"# Temporal bug fix from https://github.com/jhj0517/Whisper-WebUI/issues/220\n",
|
| 59 |
+
"!pip install pytubefix\n",
|
|
|
|
| 60 |
"!pip install tokenizers==0.19.1\n",
|
| 61 |
"!pip install pyannote.audio==3.3.1"
|
| 62 |
]
|
requirements.txt
CHANGED
|
@@ -4,5 +4,5 @@ git+https://github.com/jhj0517/jhj0517-whisper.git
|
|
| 4 |
faster-whisper==1.0.3
|
| 5 |
transformers
|
| 6 |
gradio==4.29.0
|
| 7 |
-
|
| 8 |
pyannote.audio==3.3.1
|
|
|
|
| 4 |
faster-whisper==1.0.3
|
| 5 |
transformers
|
| 6 |
gradio==4.29.0
|
| 7 |
+
pytubefix
|
| 8 |
pyannote.audio==3.3.1
|