Spaces:
Runtime error
Runtime error
jhj0517 commited on
Commit ·
941b97a
1
Parent(s): d3cf4b8
revert
Browse files- modules/faster_whisper_inference.py +0 -3
- requirements.txt +1 -1
modules/faster_whisper_inference.py
CHANGED
|
@@ -16,9 +16,6 @@ from modules.subtitle_manager import get_srt, get_vtt, get_txt, write_file, safe
|
|
| 16 |
from modules.youtube_manager import get_ytdata, get_ytaudio
|
| 17 |
from modules.whisper_data_class import *
|
| 18 |
|
| 19 |
-
# Temporal fix of the issue : https://github.com/jhj0517/Whisper-WebUI/issues/144
|
| 20 |
-
os.environ['KMP_DUPLICATE_LIB_OK'] = 'True'
|
| 21 |
-
|
| 22 |
|
| 23 |
class FasterWhisperInference(BaseInterface):
|
| 24 |
def __init__(self):
|
|
|
|
| 16 |
from modules.youtube_manager import get_ytdata, get_ytaudio
|
| 17 |
from modules.whisper_data_class import *
|
| 18 |
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
class FasterWhisperInference(BaseInterface):
|
| 21 |
def __init__(self):
|
requirements.txt
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
--extra-index-url https://download.pytorch.org/whl/cu121
|
| 2 |
torch
|
| 3 |
git+https://github.com/jhj0517/jhj0517-whisper.git
|
| 4 |
-
faster-whisper==1.0.
|
| 5 |
transformers
|
| 6 |
gradio==4.14.0
|
| 7 |
pytube
|
|
|
|
| 1 |
--extra-index-url https://download.pytorch.org/whl/cu121
|
| 2 |
torch
|
| 3 |
git+https://github.com/jhj0517/jhj0517-whisper.git
|
| 4 |
+
faster-whisper==1.0.2
|
| 5 |
transformers
|
| 6 |
gradio==4.14.0
|
| 7 |
pytube
|