Tom Anto commited on
Commit
9f8614b
·
1 Parent(s): db29aa6

updated app

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -17,8 +17,10 @@ def classify_image(img):
17
 
18
 
19
 
20
- image = gr.inputs.Image(shape=(192,192))
21
- label = gr.outputs.Label()
 
 
22
  examples = ["dog.jpg"]
23
  intf = gr.Interface(fn = classify_image, inputs = image, outputs = label, examples=examples)
24
  intf.launch(inline=False)
 
17
 
18
 
19
 
20
+ #image = gr.inputs.Image(shape=(192,192))
21
+ #label = gr.outputs.Label()
22
+ image = gr.Image()
23
+ label = gr.Label()
24
  examples = ["dog.jpg"]
25
  intf = gr.Interface(fn = classify_image, inputs = image, outputs = label, examples=examples)
26
  intf.launch(inline=False)