Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -70,6 +70,7 @@ def initialize_model():
|
|
70 |
# Initialize model on startup
|
71 |
model_loaded, status_message = initialize_model()
|
72 |
|
|
|
73 |
def generate_speech(
|
74 |
prompt_audio,
|
75 |
prompt_text,
|
|
|
70 |
# Initialize model on startup
|
71 |
model_loaded, status_message = initialize_model()
|
72 |
|
73 |
+
@spaces.GPU # ZeroGPU allocates a slice only while this runs
|
74 |
def generate_speech(
|
75 |
prompt_audio,
|
76 |
prompt_text,
|