Spaces:
Running
Running
Commit
·
d3a06be
1
Parent(s):
11b9fcd
Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,10 @@ import torch
|
|
10 |
import librosa #For converting audio sample rate to 16k
|
11 |
from easymms.models.tts import TTSModel #For TTS inference using EasyMMS
|
12 |
|
|
|
|
|
|
|
|
|
13 |
model_id = "facebook/mms-1b-all"
|
14 |
|
15 |
#Set target language to dtp (Kadazandusun)
|
|
|
10 |
import librosa #For converting audio sample rate to 16k
|
11 |
from easymms.models.tts import TTSModel #For TTS inference using EasyMMS
|
12 |
|
13 |
+
#This is a really bad fix to continue running ASR inference
|
14 |
+
import warnings
|
15 |
+
warnings.filterwarnings("ignore", category=np.VisibleDeprecationWarning)
|
16 |
+
|
17 |
model_id = "facebook/mms-1b-all"
|
18 |
|
19 |
#Set target language to dtp (Kadazandusun)
|