DHEIVER commited on
Commit
7311684
1 Parent(s): fd93f84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="file"),
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
  )