sdafd commited on
Commit
9c6e5d0
·
1 Parent(s): 49dd760

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def predict(image):
45
  # Create the Gradio interface
46
  iface = gr.Interface(
47
  fn=predict,
48
- inputs=gr.Image(preprocess),
49
  outputs=gr.Label(num_top_classes=4),
50
  live=True
51
  )
 
45
  # Create the Gradio interface
46
  iface = gr.Interface(
47
  fn=predict,
48
+ inputs=gr.Image(),
49
  outputs=gr.Label(num_top_classes=4),
50
  live=True
51
  )