properfool commited on
Commit
2d3d2e4
·
verified ·
1 Parent(s): e488674

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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,