Spaces:
Runtime error
Runtime error
Shrirang20
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -345,10 +345,11 @@ def download_ai4b_asr_model(lang: str):
|
|
345 |
print(f"Error occured: {e.stderr}")
|
346 |
raise
|
347 |
|
348 |
-
os.makedirs('asr_models', exist_ok=True)
|
349 |
|
350 |
return download_path
|
351 |
|
|
|
|
|
352 |
import librosa
|
353 |
|
354 |
def preprocess_audio(audio_path):
|
|
|
345 |
print(f"Error occured: {e.stderr}")
|
346 |
raise
|
347 |
|
|
|
348 |
|
349 |
return download_path
|
350 |
|
351 |
+
os.makedirs('asr_models', exist_ok=True)
|
352 |
+
|
353 |
import librosa
|
354 |
|
355 |
def preprocess_audio(audio_path):
|