eswardivi commited on
Commit
61f26cf
·
verified ·
1 Parent(s): 29cb9e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -71,12 +71,12 @@ def predict(path):
71
 
72
  gr.Interface(
73
  fn=predict,
74
- inputs=gr.Image(),
75
  outputs=gr.Label(num_top_classes=5),
76
  examples=[
77
  "Dalbergia oliveri.JPG",
78
  "Eucalyptus.JPG",
79
  "Khaya senegalensis.JPG",
80
  "Syzygium nervosum.JPG",
81
- ]
82
  ).launch()
 
71
 
72
  gr.Interface(
73
  fn=predict,
74
+ inputs=gr.Image(shape=(224, 224)),
75
  outputs=gr.Label(num_top_classes=5),
76
  examples=[
77
  "Dalbergia oliveri.JPG",
78
  "Eucalyptus.JPG",
79
  "Khaya senegalensis.JPG",
80
  "Syzygium nervosum.JPG",
81
+ ],
82
  ).launch()