Spaces:
Sleeping
Sleeping
image display in UI
Browse files
app.py
CHANGED
|
@@ -51,7 +51,10 @@ iface = gr.Interface(
|
|
| 51 |
inputs=[
|
| 52 |
gr.File(label="Upload Input Image"),
|
| 53 |
],
|
| 54 |
-
outputs=
|
|
|
|
|
|
|
|
|
|
| 55 |
title="Proximal Humerus Fracture Detection",
|
| 56 |
description="Upload an image, and get the classification result.",
|
| 57 |
examples=examples # Add example inputs
|
|
|
|
| 51 |
inputs=[
|
| 52 |
gr.File(label="Upload Input Image"),
|
| 53 |
],
|
| 54 |
+
outputs=[
|
| 55 |
+
gr.Image(label="Selected Image"), # Display the uploaded or example image
|
| 56 |
+
gr.Textbox(label="Classification Result"), # Display the classification result
|
| 57 |
+
],
|
| 58 |
title="Proximal Humerus Fracture Detection",
|
| 59 |
description="Upload an image, and get the classification result.",
|
| 60 |
examples=examples # Add example inputs
|