Update app.py
Browse files
app.py
CHANGED
|
@@ -111,6 +111,11 @@ def predict_input_image15(img):
|
|
| 111 |
return {class_names15[i]: float(prediction15[i]) for i in range(2)}
|
| 112 |
|
| 113 |
with gr.Blocks() as iface:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
with gr.Tab("Viral Pneumonia Detection"):
|
| 115 |
image1 = gr.inputs.Image(shape=(224,224))
|
| 116 |
label1 = gr.outputs.Label(num_top_classes=2)
|
|
|
|
| 111 |
return {class_names15[i]: float(prediction15[i]) for i in range(2)}
|
| 112 |
|
| 113 |
with gr.Blocks() as iface:
|
| 114 |
+
gr.Markdown(
|
| 115 |
+
"""
|
| 116 |
+
# RespAI
|
| 117 |
+
Upload a Chest X-ray image to diagnose.
|
| 118 |
+
""")
|
| 119 |
with gr.Tab("Viral Pneumonia Detection"):
|
| 120 |
image1 = gr.inputs.Image(shape=(224,224))
|
| 121 |
label1 = gr.outputs.Label(num_top_classes=2)
|