Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ os.makedirs(tts_audio_dir, exist_ok=True)
|
|
49 |
os.environ["TEMP"] = main_tmp_dir # Set for any underlying libraries
|
50 |
|
51 |
# --- Model Loading (Cached for Performance) ---
|
52 |
-
@gr.
|
53 |
def load_hubert_model():
|
54 |
"""Loads the Hubert model and caches it."""
|
55 |
print("Loading Hubert model...")
|
|
|
49 |
os.environ["TEMP"] = main_tmp_dir # Set for any underlying libraries
|
50 |
|
51 |
# --- Model Loading (Cached for Performance) ---
|
52 |
+
@gr.cache()
|
53 |
def load_hubert_model():
|
54 |
"""Loads the Hubert model and caches it."""
|
55 |
print("Loading Hubert model...")
|