Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,20 +56,16 @@ def create_interface():
|
|
| 56 |
image_input = gr.Image(
|
| 57 |
label="Upload Skin Lesion Image",
|
| 58 |
type="pil",
|
| 59 |
-
height=300
|
| 60 |
)
|
| 61 |
|
| 62 |
predict_btn = gr.Button(
|
| 63 |
"Classify Lesion",
|
| 64 |
variant="primary",
|
| 65 |
-
size="lg"
|
| 66 |
)
|
| 67 |
|
| 68 |
with gr.Column():
|
| 69 |
output_label = gr.Label(
|
| 70 |
label="Classification Results",
|
| 71 |
-
num_top_classes=3,
|
| 72 |
-
show_confidence=True
|
| 73 |
)
|
| 74 |
|
| 75 |
# Add examples if available
|
|
|
|
| 56 |
image_input = gr.Image(
|
| 57 |
label="Upload Skin Lesion Image",
|
| 58 |
type="pil",
|
|
|
|
| 59 |
)
|
| 60 |
|
| 61 |
predict_btn = gr.Button(
|
| 62 |
"Classify Lesion",
|
| 63 |
variant="primary",
|
|
|
|
| 64 |
)
|
| 65 |
|
| 66 |
with gr.Column():
|
| 67 |
output_label = gr.Label(
|
| 68 |
label="Classification Results",
|
|
|
|
|
|
|
| 69 |
)
|
| 70 |
|
| 71 |
# Add examples if available
|