Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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="
|
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)
|