Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def predict_skin_cancer(img):
|
|
25 |
# Create a Gradio interface
|
26 |
interface = gr.Interface(
|
27 |
fn=predict_skin_cancer,
|
28 |
-
inputs=gr.
|
29 |
outputs="text",
|
30 |
title="Skin Cancer Prediction",
|
31 |
description="Upload an image of a skin lesion to predict its class.",
|
|
|
25 |
# Create a Gradio interface
|
26 |
interface = gr.Interface(
|
27 |
fn=predict_skin_cancer,
|
28 |
+
inputs=gr.Image(type="pil", label="Upload Skin Lesion Image"),
|
29 |
outputs="text",
|
30 |
title="Skin Cancer Prediction",
|
31 |
description="Upload an image of a skin lesion to predict its class.",
|