Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ max_duration = int(30 * 16000)
|
|
8 |
|
9 |
def load_model(model_name = "cawoylel/windanam_mms-1b-tts_v2"):
|
10 |
"""
|
11 |
-
Function to load model from hugging face
|
12 |
"""
|
13 |
pipe = pipeline("automatic-speech-recognition", model="cawoylel/windanam_mms-1b-tts_v2")
|
14 |
return pipe
|
|
|
8 |
|
9 |
def load_model(model_name = "cawoylel/windanam_mms-1b-tts_v2"):
|
10 |
"""
|
11 |
+
Function to load model from hugging face.
|
12 |
"""
|
13 |
pipe = pipeline("automatic-speech-recognition", model="cawoylel/windanam_mms-1b-tts_v2")
|
14 |
return pipe
|