Spaces:
Running
on
Zero
Running
on
Zero
History v2
Browse files
app.py
CHANGED
|
@@ -337,6 +337,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
| 337 |
upscale_by,
|
| 338 |
],
|
| 339 |
outputs=[output_image, output_text, history],
|
|
|
|
| 340 |
)
|
| 341 |
|
| 342 |
# Add a function to update the history display
|
|
@@ -360,5 +361,4 @@ with gr.Blocks(css="style.css") as demo:
|
|
| 360 |
# Connect the update_history function to the history component
|
| 361 |
history.change(update_history, inputs=[history], outputs=[history])
|
| 362 |
|
| 363 |
-
demo.
|
| 364 |
-
demo.launch(debug=True)
|
|
|
|
| 337 |
upscale_by,
|
| 338 |
],
|
| 339 |
outputs=[output_image, output_text, history],
|
| 340 |
+
concurrency_limit=1
|
| 341 |
)
|
| 342 |
|
| 343 |
# Add a function to update the history display
|
|
|
|
| 361 |
# Connect the update_history function to the history component
|
| 362 |
history.change(update_history, inputs=[history], outputs=[history])
|
| 363 |
|
| 364 |
+
demo.launch(debug=True, max_threads=20)
|
|
|