Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -242,7 +242,8 @@ with gr.Blocks(theme=theme, css=css) as demo:
|
|
| 242 |
inputs=[prompt, sampler_type, duration, steps, cfg_scale, sigma_min, sigma_max],
|
| 243 |
outputs=output
|
| 244 |
)
|
| 245 |
-
|
|
|
|
| 246 |
|
| 247 |
model, model_config = load_model()
|
| 248 |
|
|
|
|
| 242 |
inputs=[prompt, sampler_type, duration, steps, cfg_scale, sigma_min, sigma_max],
|
| 243 |
outputs=output
|
| 244 |
)
|
| 245 |
+
timer = gr.Timer(2)
|
| 246 |
+
timer.tick(fn=list_all_outputs, inputs=generation_history, outputs=[generation_history, community_list])
|
| 247 |
|
| 248 |
model, model_config = load_model()
|
| 249 |
|