osbm commited on
Commit
fc6ca07
·
1 Parent(s): 4d6e3da

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -1
main.py CHANGED
@@ -277,7 +277,9 @@ demo = gr.Interface(
277
  ],
278
  cache_examples=False,
279
  # outputs=gr.Label(num_top_classes=3),
 
 
280
  )
281
  print("Launching interface")
282
- demo.queue(concurrency_count=1)
283
  demo.launch(server_name="0.0.0.0", server_port=7860)
 
277
  ],
278
  cache_examples=False,
279
  # outputs=gr.Label(num_top_classes=3),
280
+ allow_flagging="never",
281
+ concurrency_limit=1,
282
  )
283
  print("Launching interface")
284
+ demo.queue()
285
  demo.launch(server_name="0.0.0.0", server_port=7860)