Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -299,7 +299,7 @@ app = Server(title="ace-step-jam")
|
|
| 299 |
@app.api(name="create", time_limit=300)
|
| 300 |
def create(
|
| 301 |
description: str,
|
| 302 |
-
audio_duration: float = 60.0,
|
| 303 |
seed: int = -1,
|
| 304 |
community: bool = False,
|
| 305 |
) -> str:
|
|
@@ -393,7 +393,7 @@ def create(
|
|
| 393 |
def generate(
|
| 394 |
prompt: str,
|
| 395 |
lyrics: str,
|
| 396 |
-
audio_duration: float = 60.0,
|
| 397 |
infer_step: int = 8,
|
| 398 |
guidance_scale: float = 7.0,
|
| 399 |
seed: int = -1,
|
|
|
|
| 299 |
@app.api(name="create", time_limit=300)
|
| 300 |
def create(
|
| 301 |
description: str,
|
| 302 |
+
audio_duration: float = 60.0, 120.0, 180.0
|
| 303 |
seed: int = -1,
|
| 304 |
community: bool = False,
|
| 305 |
) -> str:
|
|
|
|
| 393 |
def generate(
|
| 394 |
prompt: str,
|
| 395 |
lyrics: str,
|
| 396 |
+
audio_duration: float = 60.0, 120.0, 180.0
|
| 397 |
infer_step: int = 8,
|
| 398 |
guidance_scale: float = 7.0,
|
| 399 |
seed: int = -1,
|