Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def predict_image(input_image):
|
|
63 |
# Crie uma interface Gradio para fazer previsões
|
64 |
iface = gr.Interface(
|
65 |
fn=predict_image,
|
66 |
-
inputs=gr.inputs.Image(label="Upload an Image", type="file",
|
67 |
outputs=gr.outputs.Text(label="Prediction", type="markdown"),
|
68 |
interpretation="default",
|
69 |
title="Image Classifier",
|
|
|
63 |
# Crie uma interface Gradio para fazer previsões
|
64 |
iface = gr.Interface(
|
65 |
fn=predict_image,
|
66 |
+
inputs=gr.inputs.Image(label="Upload an Image", type="file", clearable=True, resize=(300, 300)),
|
67 |
outputs=gr.outputs.Text(label="Prediction", type="markdown"),
|
68 |
interpretation="default",
|
69 |
title="Image Classifier",
|