Spaces:
Running
Running
osanseviero
commited on
Commit
•
00b0cb2
1
Parent(s):
c365118
Update app.py
Browse files
app.py
CHANGED
@@ -129,6 +129,14 @@ with gr.Blocks() as demo:
|
|
129 |
interactive=False,
|
130 |
headers=["co2", "item_name", "rationale"]
|
131 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
|
133 |
input_image.change(
|
134 |
fn=estimate_co2,
|
|
|
129 |
interactive=False,
|
130 |
headers=["co2", "item_name", "rationale"]
|
131 |
)
|
132 |
+
gr.Examples(
|
133 |
+
examples=[
|
134 |
+
"car_smoke.jpg",
|
135 |
+
"grill.jpeg",
|
136 |
+
],
|
137 |
+
inputs=input_image,
|
138 |
+
label="Try these examples:",
|
139 |
+
)
|
140 |
|
141 |
input_image.change(
|
142 |
fn=estimate_co2,
|