Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -301,9 +301,9 @@ with block:
|
|
301 |
|
302 |
ex = gr.Examples(examples=examples, fn=infer, inputs=[text, negative, guidance_scale], outputs=[gallery, community_icon, loading_icon, share_button], cache_examples=False)
|
303 |
ex.dataset.headers = [""]
|
304 |
-
negative.submit(infer, inputs=[text, negative, guidance_scale], outputs=[gallery]
|
305 |
-
text.submit(infer, inputs=[text, negative, guidance_scale], outputs=[gallery]
|
306 |
-
btn.click(infer, inputs=[text, negative, guidance_scale], outputs=[gallery]
|
307 |
|
308 |
#advanced_button.click(
|
309 |
# None,
|
@@ -339,6 +339,5 @@ Despite how impressive being able to turn text into image is, beware to the fact
|
|
339 |
</div>
|
340 |
"""
|
341 |
)
|
342 |
-
|
343 |
|
344 |
block.queue(concurrency_count=80, max_size=100).launch(max_threads=150, show_error=True)
|
|
|
301 |
|
302 |
ex = gr.Examples(examples=examples, fn=infer, inputs=[text, negative, guidance_scale], outputs=[gallery, community_icon, loading_icon, share_button], cache_examples=False)
|
303 |
ex.dataset.headers = [""]
|
304 |
+
negative.submit(infer, inputs=[text, negative, guidance_scale], outputs=[gallery])
|
305 |
+
text.submit(infer, inputs=[text, negative, guidance_scale], outputs=[gallery])
|
306 |
+
btn.click(infer, inputs=[text, negative, guidance_scale], outputs=[gallery])
|
307 |
|
308 |
#advanced_button.click(
|
309 |
# None,
|
|
|
339 |
</div>
|
340 |
"""
|
341 |
)
|
|
|
342 |
|
343 |
block.queue(concurrency_count=80, max_size=100).launch(max_threads=150, show_error=True)
|