MohammedAlakhras commited on
Commit
265fe3c
·
verified ·
1 Parent(s): 08a9d4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -28,8 +28,8 @@ def classify_image(img):
28
 
29
 
30
  # %% app.ipynb 4
31
- image=gr.inputs.Image(shape=(512,512))
32
- label=gr.outputs.Label()
33
  examples=['1.jpeg', '2.jpg', '3.png','a.jpg','b.jpg','c.jpg','d.jpg','e.jpg','f.jpg']
34
 
35
  interface=gr.Interface(fn=classify_image, inputs=image ,outputs=label,examples=examples)
 
28
 
29
 
30
  # %% app.ipynb 4
31
+ image=gr.Image()
32
+ label=gr.Label()
33
  examples=['1.jpeg', '2.jpg', '3.png','a.jpg','b.jpg','c.jpg','d.jpg','e.jpg','f.jpg']
34
 
35
  interface=gr.Interface(fn=classify_image, inputs=image ,outputs=label,examples=examples)