Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def inference_text(target_prompt, prompt_len, iter):
|
|
57 |
|
58 |
gr.Progress(track_tqdm=True)
|
59 |
|
60 |
-
demo = gr.Blocks()
|
61 |
|
62 |
with demo:
|
63 |
gr.Markdown("# PEZ Dispenser")
|
@@ -97,4 +97,4 @@ with demo:
|
|
97 |
|
98 |
gr.Markdown("![visitor badge](https://visitor-badge.glitch.me/badge?page_id=tomg-group-umd_pez-dispenser)")
|
99 |
|
100 |
-
demo.launch(
|
|
|
57 |
|
58 |
gr.Progress(track_tqdm=True)
|
59 |
|
60 |
+
demo = gr.Blocks().queue(default_concurrency_limit=5)
|
61 |
|
62 |
with demo:
|
63 |
gr.Markdown("# PEZ Dispenser")
|
|
|
97 |
|
98 |
gr.Markdown("![visitor badge](https://visitor-badge.glitch.me/badge?page_id=tomg-group-umd_pez-dispenser)")
|
99 |
|
100 |
+
demo.launch()
|