Spaces:
Build error
Build error
Commit
Β·
92853fc
1
Parent(s):
13e28fe
dfdff
Browse files- app_gradio_spaces.py +1 -1
app_gradio_spaces.py
CHANGED
@@ -66,7 +66,7 @@ def setup_environment():
|
|
66 |
output += "Initializing Whisper model (this may take a while)...\n"
|
67 |
try:
|
68 |
import whisper
|
69 |
-
whisper.load_model("
|
70 |
output += "β
Whisper model initialized successfully!\n"
|
71 |
except Exception as e:
|
72 |
output += f"β Error initializing Whisper model: {str(e)}\n"
|
|
|
66 |
output += "Initializing Whisper model (this may take a while)...\n"
|
67 |
try:
|
68 |
import whisper
|
69 |
+
whisper.load_model("tiny", download_root="models/speech_encoder/")
|
70 |
output += "β
Whisper model initialized successfully!\n"
|
71 |
except Exception as e:
|
72 |
output += f"β Error initializing Whisper model: {str(e)}\n"
|