Spaces:
Runtime error
Runtime error
Update app.py
Browse filesAdding queue() in case of heavy traffic
app.py
CHANGED
@@ -267,5 +267,5 @@ with gr.Blocks(theme=theme) as demo:
|
|
267 |
process_document, inputs=[input_image, instruction, llm], outputs=[output_table, output_text]
|
268 |
)
|
269 |
|
270 |
-
|
271 |
-
demo.launch(
|
|
|
267 |
process_document, inputs=[input_image, instruction, llm], outputs=[output_table, output_text]
|
268 |
)
|
269 |
|
270 |
+
demo.queue()
|
271 |
+
demo.launch()
|