Spaces:
Runtime error
Runtime error
added examples
Browse files- .ipynb_checkpoints/app-checkpoint.py +2 -1
- 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)
|