Skip to content

Commit

Permalink
fix t2a seeding
Browse files Browse the repository at this point in the history
  • Loading branch information
hkchengrex committed Dec 23, 2024
1 parent 2277cb2 commit 6363656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradio_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def text_to_audio(prompt: str, negative_prompt: str, seed: int, num_steps: int,
inputs=[
gr.Text(label='Prompt'),
gr.Text(label='Negative prompt'),
gr.Number(label='Seed', value=0, precision=0, minimum=0),
gr.Number(label='Seed (-1: random)', value=-1, precision=0, minimum=-1),
gr.Number(label='Num steps', value=25, precision=0, minimum=1),
gr.Number(label='Guidance Strength', value=4.5, minimum=1),
gr.Number(label='Duration (sec)', value=8, minimum=1),
Expand Down

0 comments on commit 6363656

Please sign in to comment.