Omnibus commited on
Commit
8bb99b0
1 Parent(s): a9b787f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -231,12 +231,12 @@ with gr.Blocks() as app:
231
  btn.click(fin_clear,None,fin,show_progress=False)
232
  load_btn.click(load_url,in_url,[inp,mes])
233
 
234
- btn.click(aiornot0,[inp],[outp0,n_out0]).then(tot_prob,None,fin)
235
- btn.click(aiornot1,[inp],[outp1,n_out1]).then(tot_prob,None,fin)
236
- btn.click(aiornot2,[inp],[outp2,n_out2]).then(tot_prob,None,fin)
237
 
238
- btn.click(image_classifier0,[inp],[n_out3]).then(tot_prob,None,fin)
239
- btn.click(image_classifier1,[inp],[n_out4]).then(tot_prob,None,fin)
240
- btn.click(image_classifier2,[inp],[n_out5]).then(tot_prob,None,fin)
241
 
242
  app.queue(concurrency_count=20).launch()
 
231
  btn.click(fin_clear,None,fin,show_progress=False)
232
  load_btn.click(load_url,in_url,[inp,mes])
233
 
234
+ btn.click(aiornot0,[inp],[outp0,n_out0]).then(tot_prob,None,fin,show_progress=False)
235
+ btn.click(aiornot1,[inp],[outp1,n_out1]).then(tot_prob,None,fin,show_progress=False)
236
+ btn.click(aiornot2,[inp],[outp2,n_out2]).then(tot_prob,None,fin,show_progress=False)
237
 
238
+ btn.click(image_classifier0,[inp],[n_out3]).then(tot_prob,None,fin,show_progress=False)
239
+ btn.click(image_classifier1,[inp],[n_out4]).then(tot_prob,None,fin,show_progress=False)
240
+ btn.click(image_classifier2,[inp],[n_out5]).then(tot_prob,None,fin,show_progress=False)
241
 
242
  app.queue(concurrency_count=20).launch()