DHEIVER commited on
Commit
82fa3fb
·
1 Parent(s): 8a8e9b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", accept="image/*", clearable=True, resize=(300, 300)),
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",