Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -91,7 +91,7 @@ def predict_image(input_image):
|
|
| 91 |
# Crie uma interface Gradio para fazer previsões
|
| 92 |
iface = gr.Interface(
|
| 93 |
fn=predict_image,
|
| 94 |
-
inputs=gr.inputs.Image(label="Upload an Image", type="
|
| 95 |
outputs=[gr.outputs.Image(type="pil"), gr.outputs.Text(label="Prediction", type="markdown")],
|
| 96 |
interpretation="default"
|
| 97 |
)
|
|
|
|
| 91 |
# Crie uma interface Gradio para fazer previsões
|
| 92 |
iface = gr.Interface(
|
| 93 |
fn=predict_image,
|
| 94 |
+
inputs=gr.inputs.Image(label="Upload an Image", type="filepath"),
|
| 95 |
outputs=[gr.outputs.Image(type="pil"), gr.outputs.Text(label="Prediction", type="markdown")],
|
| 96 |
interpretation="default"
|
| 97 |
)
|