satish860 commited on
Commit
bdb2cfa
·
1 Parent(s): 22784ab

added examples

Browse files
Files changed (2) hide show
  1. .ipynb_checkpoints/app-checkpoint.py +2 -1
  2. app.py +2 -1
.ipynb_checkpoints/app-checkpoint.py CHANGED
@@ -13,6 +13,7 @@ examples = ['Arborio.jpg','Basmati.jpg','Ipsala.jpg','Jasmine.jpg','Karacadag.jp
13
 
14
  demo = gr.Interface(fn=predict,
15
  inputs=gr.inputs.Image(shape=(224, 224)),
16
- outputs= gr.outputs.Label()
 
17
  )
18
  demo.launch(inline=False)
 
13
 
14
  demo = gr.Interface(fn=predict,
15
  inputs=gr.inputs.Image(shape=(224, 224)),
16
+ outputs= gr.outputs.Label(),
17
+ examples=examples
18
  )
19
  demo.launch(inline=False)
app.py CHANGED
@@ -13,6 +13,7 @@ examples = ['Arborio.jpg','Basmati.jpg','Ipsala.jpg','Jasmine.jpg','Karacadag.jp
13
 
14
  demo = gr.Interface(fn=predict,
15
  inputs=gr.inputs.Image(shape=(224, 224)),
16
- outputs= gr.outputs.Label()
 
17
  )
18
  demo.launch(inline=False)
 
13
 
14
  demo = gr.Interface(fn=predict,
15
  inputs=gr.inputs.Image(shape=(224, 224)),
16
+ outputs= gr.outputs.Label(),
17
+ examples=examples
18
  )
19
  demo.launch(inline=False)