Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,6 +19,11 @@ description = f"""<h1> Slug, snake or snail<h1>
|
|
| 19 |
examples = ['330px-Orange_slug.jpg', 'Green_Snakes.jpg', 'Helix_pomatia_002.JPG']
|
| 20 |
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
gr.Interface(
|
| 23 |
predict,
|
| 24 |
inputs=gr.components.Image(label="candidate", type="filepath"),
|
|
@@ -26,4 +31,6 @@ gr.Interface(
|
|
| 26 |
title=title,
|
| 27 |
examples=examples,
|
| 28 |
description=description,
|
|
|
|
|
|
|
| 29 |
).launch()
|
|
|
|
| 19 |
examples = ['330px-Orange_slug.jpg', 'Green_Snakes.jpg', 'Helix_pomatia_002.JPG']
|
| 20 |
|
| 21 |
|
| 22 |
+
|
| 23 |
+
interpretation='default
|
| 24 |
+
enable_queue=True
|
| 25 |
+
|
| 26 |
+
|
| 27 |
gr.Interface(
|
| 28 |
predict,
|
| 29 |
inputs=gr.components.Image(label="candidate", type="filepath"),
|
|
|
|
| 31 |
title=title,
|
| 32 |
examples=examples,
|
| 33 |
description=description,
|
| 34 |
+
interpretation=interpretation,
|
| 35 |
+
enable_queue=enable_queue
|
| 36 |
).launch()
|