Spaces:
Runtime error
Runtime error
sachin
commited on
Commit
•
68ba00a
1
Parent(s):
bd2c1a6
remove queue
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ def predict(img):
|
|
12 |
|
13 |
title = "Don't Hug Grizzy Accidentally"
|
14 |
description = "A bear classifier tells you exactly what you are about to hug."
|
15 |
-
examples = ['teddy.jpg', 'grizzly.png']
|
16 |
interpretation='default'
|
17 |
enable_queue=True
|
18 |
|
19 |
-
gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description,examples=examples,interpretation=interpretation
|
|
|
12 |
|
13 |
title = "Don't Hug Grizzy Accidentally"
|
14 |
description = "A bear classifier tells you exactly what you are about to hug."
|
15 |
+
examples = ['teddy.jpg', 'grizzly.png ']
|
16 |
interpretation='default'
|
17 |
enable_queue=True
|
18 |
|
19 |
+
gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description,examples=examples,interpretation=interpretation).launch()
|