update
Browse files
app.py
CHANGED
|
@@ -113,7 +113,7 @@ def generate_audio_gradio(
|
|
| 113 |
variant,
|
| 114 |
seed
|
| 115 |
):
|
| 116 |
-
|
| 117 |
if duration <= 0 or num_steps <= 0:
|
| 118 |
raise ValueError("Duration and number of steps must be positive.")
|
| 119 |
if variant not in all_model_cfg:
|
|
|
|
| 113 |
variant,
|
| 114 |
seed
|
| 115 |
):
|
| 116 |
+
# update
|
| 117 |
if duration <= 0 or num_steps <= 0:
|
| 118 |
raise ValueError("Duration and number of steps must be positive.")
|
| 119 |
if variant not in all_model_cfg:
|