zotthytt12 commited on
Commit
25fe6ee
·
verified ·
1 Parent(s): 19635a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def predict(img):
29
 
30
  iface = gr.Interface(
31
  fn=predict,
32
- inputs=gr.Image(type="pil"),
33
  outputs=gr.Label(num_top_classes=3),
34
  title="Vegetable Classifier",
35
  description="Wgraj zdjęcie warzywa, a model powie co to jest."
 
29
 
30
  iface = gr.Interface(
31
  fn=predict,
32
+ inputs=gr.Image(type="filepath"),
33
  outputs=gr.Label(num_top_classes=3),
34
  title="Vegetable Classifier",
35
  description="Wgraj zdjęcie warzywa, a model powie co to jest."