Mohammadreza Ghaffarzadeh commited on
Commit
82c3910
1 Parent(s): 9a14f01
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def classifier(image):
19
 
20
  food = gr.Interface(
21
  fn=classifier,
22
- inputs=gr.Image(type="pil"),
23
  outputs="text",
24
  title = "what's your eating?",
25
  description = "A simple model for food classification"
 
19
 
20
  food = gr.Interface(
21
  fn=classifier,
22
+ inputs=gr.Image(),
23
  outputs="text",
24
  title = "what's your eating?",
25
  description = "A simple model for food classification"