jeysshon commited on
Commit
cd7f531
·
verified ·
1 Parent(s): 4d4e267

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def image_classifier1(img):
59
  # return {'PNEUMONIA': 1-prediction, 'NORMAL': prediction} # Invert the prediction for Gradio
60
 
61
  # Create Gradio interfaces for each model
62
- demo_model1 = gr.Interface(fn=image_classifier1, inputs="image", outputs="label", title="Pneumonia Detection - Model 1")
63
  # demo_model2 = gr.Interface(fn=image_classifier2, inputs="image", outputs="label", title="Pneumonia Detection - Model 2")
64
 
65
  # gr.Parallel(demo_model1, demo_model2).launch(share=True)
 
59
  # return {'PNEUMONIA': 1-prediction, 'NORMAL': prediction} # Invert the prediction for Gradio
60
 
61
  # Create Gradio interfaces for each model
62
+ demo_model1 = gr.Interface(fn=image_classifier1, inputs="image", outputs="label", title="IsaTron V2")
63
  # demo_model2 = gr.Interface(fn=image_classifier2, inputs="image", outputs="label", title="Pneumonia Detection - Model 2")
64
 
65
  # gr.Parallel(demo_model1, demo_model2).launch(share=True)