Spaces:
Running
Running
jhj0517
commited on
Commit
·
aa3d924
1
Parent(s):
0238a89
revert
Browse files
modules/faster_whisper_inference.py
CHANGED
|
@@ -16,6 +16,9 @@ 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 |
|
| 20 |
class FasterWhisperInference(BaseInterface):
|
| 21 |
def __init__(self):
|
|
|
|
| 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):
|