Spaces:
Runtime error
Runtime error
Commit ·
0d13471
1
Parent(s): f157f75
fix examples attempt 2
Browse files
app.py
CHANGED
|
@@ -24,5 +24,6 @@ article="<h4 style='text-align: center'><a href='https://www.kaggle.com/datasets
|
|
| 24 |
interpretation='default'
|
| 25 |
enable_queue=True
|
| 26 |
inputs = gr.Image(shape=(224, 224))
|
|
|
|
| 27 |
|
| 28 |
gr.Interface(fn=predict, inputs=inputs, outputs=gr.Label(num_top_classes=3), title=title, description=description, article=article, interpretation=interpretation, examples=examples).launch(share=True, enable_queue=enable_queue)
|
|
|
|
| 24 |
interpretation='default'
|
| 25 |
enable_queue=True
|
| 26 |
inputs = gr.Image(shape=(224, 224))
|
| 27 |
+
examples = gr.Examples(examples=examples, inputs=inputs)
|
| 28 |
|
| 29 |
gr.Interface(fn=predict, inputs=inputs, outputs=gr.Label(num_top_classes=3), title=title, description=description, article=article, interpretation=interpretation, examples=examples).launch(share=True, enable_queue=enable_queue)
|