Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -241,11 +241,6 @@ with gr.Blocks(theme=theme, css=css) as demo:
|
|
| 241 |
inputs=[prompt, sampler_type, duration, steps, cfg_scale, sigma_min, sigma_max],
|
| 242 |
outputs=output
|
| 243 |
)
|
| 244 |
-
btn_run.click(
|
| 245 |
-
generate_audio,
|
| 246 |
-
inputs=[prompt, sampler_type, duration, steps, cfg_scale, sigma_min, sigma_max],
|
| 247 |
-
outputs=output
|
| 248 |
-
)
|
| 249 |
demo.load(fn=list_all_outputs, inputs=generation_history, outputs=[generation_history, community_list], every=2)
|
| 250 |
|
| 251 |
model, model_config = load_model()
|
|
|
|
| 241 |
inputs=[prompt, sampler_type, duration, steps, cfg_scale, sigma_min, sigma_max],
|
| 242 |
outputs=output
|
| 243 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 244 |
demo.load(fn=list_all_outputs, inputs=generation_history, outputs=[generation_history, community_list], every=2)
|
| 245 |
|
| 246 |
model, model_config = load_model()
|