Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -254,7 +254,7 @@ def main():
|
|
| 254 |
@st.cache_data
|
| 255 |
def load_product_data():
|
| 256 |
# Ensure the CSV file has columns including ProductName, RetailPrice, etc.
|
| 257 |
-
return pd.read_csv('
|
| 258 |
|
| 259 |
df = load_product_data()
|
| 260 |
assistant = SmartShoppingAssistant(df)
|
|
@@ -364,7 +364,7 @@ def main():
|
|
| 364 |
st.download_button(
|
| 365 |
label="Download Receipt",
|
| 366 |
data=receipt,
|
| 367 |
-
file_name="
|
| 368 |
mime="application/pdf"
|
| 369 |
)
|
| 370 |
else:
|
|
|
|
| 254 |
@st.cache_data
|
| 255 |
def load_product_data():
|
| 256 |
# Ensure the CSV file has columns including ProductName, RetailPrice, etc.
|
| 257 |
+
return pd.read_csv('delta_products.csv')
|
| 258 |
|
| 259 |
df = load_product_data()
|
| 260 |
assistant = SmartShoppingAssistant(df)
|
|
|
|
| 364 |
st.download_button(
|
| 365 |
label="Download Receipt",
|
| 366 |
data=receipt,
|
| 367 |
+
file_name="drinks_receipt.pdf",
|
| 368 |
mime="application/pdf"
|
| 369 |
)
|
| 370 |
else:
|