michael20at commited on
Commit
7e15f9e
·
verified ·
1 Parent(s): 62eb46f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -9,7 +9,8 @@ def classify_image(img):
9
 
10
  image = gr.inputs.Image(shape=(192,192))
11
  label = gr.outputs.Label()
12
- examples = []
13
 
14
- iface = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
 
15
  iface.launch(inline=False)
 
9
 
10
  image = gr.inputs.Image(shape=(192,192))
11
  label = gr.outputs.Label()
12
+ examples = ["5.png"]
13
 
14
+ #iface = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
15
+ iface = gr.Interface(fn=classify_image, inputs="text", outputs="text")
16
  iface.launch(inline=False)