Spaces:
Running
on
Zero
Running
on
Zero
hungchiayu1
commited on
Commit
•
b76c2d1
1
Parent(s):
27b1415
minor fix
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ description_text = ""
|
|
106 |
# Gradio input and output components
|
107 |
input_text = gr.Textbox(lines=2, label="Prompt")
|
108 |
output_audio = gr.Audio(label="Generated Audio", type="filepath")
|
109 |
-
denoising_steps = gr.Slider(minimum=
|
110 |
guidance_scale = gr.Slider(minimum=1, maximum=10, value=3, step=0.1, label="Guidance Scale", interactive=True)
|
111 |
|
112 |
# Gradio interface
|
@@ -140,4 +140,4 @@ gr_interface = gr.Interface(
|
|
140 |
)
|
141 |
|
142 |
# Launch Gradio app
|
143 |
-
gr_interface.launch()
|
|
|
106 |
# Gradio input and output components
|
107 |
input_text = gr.Textbox(lines=2, label="Prompt")
|
108 |
output_audio = gr.Audio(label="Generated Audio", type="filepath")
|
109 |
+
denoising_steps = gr.Slider(minimum=150, maximum=200, value=100, step=1, label="Steps", interactive=True)
|
110 |
guidance_scale = gr.Slider(minimum=1, maximum=10, value=3, step=0.1, label="Guidance Scale", interactive=True)
|
111 |
|
112 |
# Gradio interface
|
|
|
140 |
)
|
141 |
|
142 |
# Launch Gradio app
|
143 |
+
gr_interface.queue(10).launch()
|