Spaces:
Runtime error
Runtime error
melindakhosasih
commited on
Commit
•
7987c06
1
Parent(s):
b27d380
added new examples
Browse files- app.py +2 -1
- examples/img_4.jpg +0 -0
- examples/img_5.jpg +0 -0
- examples/img_6.jpg +0 -0
app.py
CHANGED
@@ -54,7 +54,8 @@ with gr.Blocks() as demo:
|
|
54 |
"""
|
55 |
<h1 align="center">Group 29 - AI Cafeteria Price Evaluator</h1>
|
56 |
""")
|
57 |
-
examples = ["./examples/img_1.jpg", "./examples/img_2.jpg", "./examples/img_3.jpg"
|
|
|
58 |
# gr.Interface(inputs=["image"],outputs=["image"],fn=lambda img:model(img).render()[0]).launch()
|
59 |
gr.Interface(inputs=["image"], outputs=["image", "text"], fn=predict, examples=examples)
|
60 |
|
|
|
54 |
"""
|
55 |
<h1 align="center">Group 29 - AI Cafeteria Price Evaluator</h1>
|
56 |
""")
|
57 |
+
examples = ["./examples/img_1.jpg", "./examples/img_2.jpg", "./examples/img_3.jpg",
|
58 |
+
"./examples/img_4.jpg", "./examples/img_5.jpg", "./examples/img_6.jpg"]
|
59 |
# gr.Interface(inputs=["image"],outputs=["image"],fn=lambda img:model(img).render()[0]).launch()
|
60 |
gr.Interface(inputs=["image"], outputs=["image", "text"], fn=predict, examples=examples)
|
61 |
|
examples/img_4.jpg
ADDED
examples/img_5.jpg
ADDED
examples/img_6.jpg
ADDED