Spaces:
unijoh
/
Runtime error

unijoh commited on
Commit
1fd65c9
1 Parent(s): 9aff6df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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