Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ with gr.Blocks() as demo:
|
|
93 |
guidance_scale = gr.Slider(label="guidance_scale", minimum=0.1, maximum=8.0, value=3.0, step=0.1)
|
94 |
with gr.Column():
|
95 |
outaudio = gr.Audio()
|
96 |
-
preprocess_run_button.click(fn=
|
97 |
generate_run_button.click(fn=infer, inputs=[prompt, num_steps, guidance_scale], outputs=[outaudio])
|
98 |
|
99 |
with gr.Row():
|
|
|
93 |
guidance_scale = gr.Slider(label="guidance_scale", minimum=0.1, maximum=8.0, value=3.0, step=0.1)
|
94 |
with gr.Column():
|
95 |
outaudio = gr.Audio()
|
96 |
+
preprocess_run_button.click(fn=preprocess, inputs=[freetext_prompt], outputs=[prompt, freetext_prompt_out])
|
97 |
generate_run_button.click(fn=infer, inputs=[prompt, num_steps, guidance_scale], outputs=[outaudio])
|
98 |
|
99 |
with gr.Row():
|