From 636365665d56a5477705e3fa71ece40aff7fc732 Mon Sep 17 00:00:00 2001 From: Rex Cheng Date: Sun, 22 Dec 2024 22:38:31 -0600 Subject: [PATCH] fix t2a seeding --- gradio_demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradio_demo.py b/gradio_demo.py index 9c01b0c..73f88f2 100644 --- a/gradio_demo.py +++ b/gradio_demo.py @@ -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),