Omnibus commited on
Commit
5f304a2
1 Parent(s): 5c20f93

Update flood.py

Browse files
Files changed (1) hide show
  1. flood.py +3 -3
flood.py CHANGED
@@ -198,7 +198,7 @@ with gr.Blocks(css=css) as myface:
198
  with gr.Column():
199
  with gr.Row():
200
  frame_num=gr.Textbox(label="Current",value=0,interactive=False)
201
- time_box=gr.Textbox(label="Time String", interactive=False)
202
  frame_top=gr.Textbox(label="How many images?", value=10)
203
  with gr.Row():
204
  model_name1 = gr.Dropdown(show_label=False, choices=[m for m in models], type="index", value=current_model, interactive=True)
@@ -236,5 +236,5 @@ with gr.Blocks(css=css) as myface:
236
  #model_name1.change(set_model,inputs=model_name1,outputs=[output1,output2,output3,output4,output5,output6,output7,output8])
237
 
238
 
239
- myface.queue(concurrency_count=200)
240
- myface.launch(enable_queue=True, inline=True, max_threads=200)
 
198
  with gr.Column():
199
  with gr.Row():
200
  frame_num=gr.Textbox(label="Current",value=0,interactive=False)
201
+ time_box=gr.Textbox(label="Unique Bandaid", interactive=False)
202
  frame_top=gr.Textbox(label="How many images?", value=10)
203
  with gr.Row():
204
  model_name1 = gr.Dropdown(show_label=False, choices=[m for m in models], type="index", value=current_model, interactive=True)
 
236
  #model_name1.change(set_model,inputs=model_name1,outputs=[output1,output2,output3,output4,output5,output6,output7,output8])
237
 
238
 
239
+ myface.queue(concurrency_count=10)
240
+ myface.launch(enable_queue=True, inline=True, max_threads=10, show_api=False)