Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,10 @@ import librosa
|
|
3 |
from asr import transcribe, ASR_EXAMPLES, ASR_LANGUAGES, ASR_NOTE
|
4 |
from tts import synthesize, TTS_EXAMPLES, TTS_LANGUAGES
|
5 |
from lid import identify, LID_EXAMPLES
|
|
|
|
|
|
|
|
|
6 |
|
7 |
demo = gr.Blocks()
|
8 |
|
|
|
3 |
from asr import transcribe, ASR_EXAMPLES, ASR_LANGUAGES, ASR_NOTE
|
4 |
from tts import synthesize, TTS_EXAMPLES, TTS_LANGUAGES
|
5 |
from lid import identify, LID_EXAMPLES
|
6 |
+
import os
|
7 |
+
|
8 |
+
# Disable HF_HUB_ENABLE_HF_TRANSFER
|
9 |
+
os.environ['HF_HUB_ENABLE_HF_TRANSFER'] = '0'
|
10 |
|
11 |
demo = gr.Blocks()
|
12 |
|