Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def predict(input_image):
|
|
59 |
# Crie uma interface Gradio para fazer previsões
|
60 |
iface = gr.Interface(
|
61 |
predict,
|
62 |
-
inputs=gr.inputs.Image(label="Upload hot dog candidate", type="
|
63 |
outputs=gr.outputs.Label(num_top_classes=2),
|
64 |
title="Normal? Or Cataract?",
|
65 |
)
|
|
|
59 |
# Crie uma interface Gradio para fazer previsões
|
60 |
iface = gr.Interface(
|
61 |
predict,
|
62 |
+
inputs=gr.inputs.Image(label="Upload hot dog candidate", type="pil"),
|
63 |
outputs=gr.outputs.Label(num_top_classes=2),
|
64 |
title="Normal? Or Cataract?",
|
65 |
)
|