fl399 commited on
Commit
9421dc1
·
1 Parent(s): 96f8aa7

Update app.py

Browse files

Adding queue() in case of heavy traffic

Files changed (1) hide show
  1. app.py +2 -2
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(debug=True)
 
267
  process_document, inputs=[input_image, instruction, llm], outputs=[output_table, output_text]
268
  )
269
 
270
+ demo.queue()
271
+ demo.launch()