fix: add duration limit
Browse files
app.py
CHANGED
@@ -150,7 +150,7 @@ def initialize_model():
|
|
150 |
# Initialize model when starting the application
|
151 |
initialize_model()
|
152 |
|
153 |
-
@spaces.GPU
|
154 |
def process_single_audio_generation(
|
155 |
text_input: str,
|
156 |
audio_mode: str,
|
|
|
150 |
# Initialize model when starting the application
|
151 |
initialize_model()
|
152 |
|
153 |
+
@spaces.GPU(duration=120)
|
154 |
def process_single_audio_generation(
|
155 |
text_input: str,
|
156 |
audio_mode: str,
|