Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ with gr.Blocks() as app:
|
|
56 |
|
57 |
with gr.Tab("👁️ Retina Disease Scan"):
|
58 |
gr.Markdown("Upload an image of your retina for disease analysis.")
|
59 |
-
retina_input = gr.Image(type="
|
60 |
retina_output = gr.Textbox(label="Analysis Result")
|
61 |
gr.Button("Scan").click(detect_disease_from_retina, inputs=retina_input, outputs=retina_output)
|
62 |
|
|
|
56 |
|
57 |
with gr.Tab("👁️ Retina Disease Scan"):
|
58 |
gr.Markdown("Upload an image of your retina for disease analysis.")
|
59 |
+
retina_input = gr.Image(type="filepath") # or "numpy" if needed
|
60 |
retina_output = gr.Textbox(label="Analysis Result")
|
61 |
gr.Button("Scan").click(detect_disease_from_retina, inputs=retina_input, outputs=retina_output)
|
62 |
|