Addai commited on
Commit
680b21d
·
verified ·
1 Parent(s): 3f80bc2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ examples = ['img1.jpeg', 'img2.jpeg']
17
 
18
  iface = gr.Interface(
19
  fn=predict,
20
- inputs=gr.Image(shape=(512, 512)),
21
  outputs=gr.Label(num_top_classes=3),
22
  title=title,
23
  description=description,
 
17
 
18
  iface = gr.Interface(
19
  fn=predict,
20
+ inputs=gr.Image(), # Removed the shape parameter
21
  outputs=gr.Label(num_top_classes=3),
22
  title=title,
23
  description=description,