Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def predict(image):
|
|
20 |
# setup Gradio interface
|
21 |
title = "Image classifier"
|
22 |
description = "Image classification with pretrained resnet50 model"
|
23 |
-
|
24 |
interpretation='default'
|
25 |
enable_queue=True
|
26 |
|
@@ -30,7 +30,7 @@ gr.Interface(
|
|
30 |
outputs=gr.outputs.Label(num_top_classes=1),
|
31 |
title=title,
|
32 |
description=description,
|
33 |
-
|
34 |
interpretation=interpretation,
|
35 |
enable_queue=enable_queue
|
36 |
).launch()
|
|
|
20 |
# setup Gradio interface
|
21 |
title = "Image classifier"
|
22 |
description = "Image classification with pretrained resnet50 model"
|
23 |
+
examples = ['dog.jpg']
|
24 |
interpretation='default'
|
25 |
enable_queue=True
|
26 |
|
|
|
30 |
outputs=gr.outputs.Label(num_top_classes=1),
|
31 |
title=title,
|
32 |
description=description,
|
33 |
+
examples=examples,
|
34 |
interpretation=interpretation,
|
35 |
enable_queue=enable_queue
|
36 |
).launch()
|