Disguised commited on
Commit
65fce8c
1 Parent(s): 5422f27

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -14,8 +14,7 @@ def classify_image(img):
14
 
15
  image = gr.inputs.Image(shape=(192, 192))
16
  label = gr.outputs.Label()
17
- examples = glob('./examples/*')
18
 
19
 
20
- intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
21
  intf.launch(inline=False)
 
14
 
15
  image = gr.inputs.Image(shape=(192, 192))
16
  label = gr.outputs.Label()
 
17
 
18
 
19
+ intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples='./examples')
20
  intf.launch(inline=False)