Spaces:
Runtime error
Runtime error
added two example xrays
Browse files- application.py +1 -0
- examples/xray1.png +0 -0
- examples/xray2.jpg +0 -0
application.py
CHANGED
@@ -16,6 +16,7 @@ demo = gradio.Interface(
|
|
16 |
inputs=gradio.inputs.Image(label="Upload lung x-ray image", type="filepath"),
|
17 |
outputs=gradio.outputs.Label(num_top_classes=2),
|
18 |
title="Pneumonia Probability",
|
|
|
19 |
)
|
20 |
|
21 |
demo.launch()
|
|
|
16 |
inputs=gradio.inputs.Image(label="Upload lung x-ray image", type="filepath"),
|
17 |
outputs=gradio.outputs.Label(num_top_classes=2),
|
18 |
title="Pneumonia Probability",
|
19 |
+
examples = ["examples/xray1.png", "examples/xray2.png"]
|
20 |
)
|
21 |
|
22 |
demo.launch()
|
examples/xray1.png
ADDED
examples/xray2.jpg
ADDED