DHEIVER commited on
Commit
65cc174
·
1 Parent(s): d1c66aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,10 +36,10 @@ def classify_image(inp):
36
  # Crie uma interface Gradio
37
  iface = gr.Interface(
38
  fn=classify_image,
39
- inputs=gr.inputs.Image(shape=(224, 224), preprocessing_fn=preprocess_image),
40
  outputs=gr.outputs.Label(),
41
  capture_session=True
42
  )
43
 
44
  # Inicie a interface Gradio
45
- iface.launch(debug=True, share=True)
 
36
  # Crie uma interface Gradio
37
  iface = gr.Interface(
38
  fn=classify_image,
39
+ inputs=gr.inputs.Image(shape=(224, 224)),
40
  outputs=gr.outputs.Label(),
41
  capture_session=True
42
  )
43
 
44
  # Inicie a interface Gradio
45
+ iface.launch(debug=True)