yvesnewman commited on
Commit
9a19143
·
1 Parent(s): a00619f

Upload app.py

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