Fu-Chuen commited on
Commit
0e2977d
·
1 Parent(s): ec1e3d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -309,7 +309,7 @@ with gr.Blocks() as fungus_classification:
309
  image_output = gr.Gallery(label = 'Images of Molds')
310
  predict_outputs = gr.Textbox(label = 'Prediction Result')
311
  upload_button = gr.UploadButton("Click to Upload Files", file_types=["image", "video"], file_count="multiple")
312
- upload_button.upload(upload_file, [upload_button,threshold], image_output)
313
  upload_button.upload(classify_images, [upload_button,threshold], predict_outputs)
314
  fungus_classification.launch(share=True, debug=True)
315
- # fungus_classification.launch(share=True, debug=True, enable_queue=True)
 
309
  image_output = gr.Gallery(label = 'Images of Molds')
310
  predict_outputs = gr.Textbox(label = 'Prediction Result')
311
  upload_button = gr.UploadButton("Click to Upload Files", file_types=["image", "video"], file_count="multiple")
312
+ upload_button.upload(upload_file, upload_button, image_output)
313
  upload_button.upload(classify_images, [upload_button,threshold], predict_outputs)
314
  fungus_classification.launch(share=True, debug=True)
315
+ # fungus_classification.launch(share=True, debug=True, enable_queue=True)