Spaces:
Runtime error
Runtime error
concurrency
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ with gr.Blocks(css=css) as demo:
|
|
48 |
with gr.Column(scale=1):
|
49 |
image_output = gr.Image(value="https://storage.googleapis.com/ai-pipeline-app.appspot.com/qGv8tG1ZLxdsMIJIUtlVCg/031eab99-af5d-4d61-b824-51679444c675-0.png")
|
50 |
|
51 |
-
text_button.click(get_result, inputs=[prompt], outputs=image_output)
|
52 |
|
53 |
-
demo.queue(
|
54 |
demo.launch()
|
|
|
48 |
with gr.Column(scale=1):
|
49 |
image_output = gr.Image(value="https://storage.googleapis.com/ai-pipeline-app.appspot.com/qGv8tG1ZLxdsMIJIUtlVCg/031eab99-af5d-4d61-b824-51679444c675-0.png")
|
50 |
|
51 |
+
text_button.click(get_result, inputs=[prompt], outputs=image_output, concurrency_count=24)
|
52 |
|
53 |
+
demo.queue()
|
54 |
demo.launch()
|