Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -124,7 +124,15 @@ with gr.Blocks(title="RetailGenie") as demo:
|
|
124 |
|
125 |
product.change(fn=get_product_image, inputs=product, outputs=store_map)
|
126 |
|
127 |
-
reset_btn.click(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
|
129 |
with gr.TabItem("🎁 Smart Suggestions"):
|
130 |
gr.Markdown("### 🤖 Ask RetailGenie for Recommendations")
|
|
|
124 |
|
125 |
product.change(fn=get_product_image, inputs=product, outputs=store_map)
|
126 |
|
127 |
+
reset_btn.click(
|
128 |
+
reset_all,
|
129 |
+
inputs=[],
|
130 |
+
outputs=[
|
131 |
+
country, state, city, store,
|
132 |
+
category, product, brand, quantity,
|
133 |
+
result, data_state
|
134 |
+
]
|
135 |
+
)
|
136 |
|
137 |
with gr.TabItem("🎁 Smart Suggestions"):
|
138 |
gr.Markdown("### 🤖 Ask RetailGenie for Recommendations")
|