Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -53,7 +53,7 @@ print("Current working directory:", os.getcwd())
|
|
| 53 |
print("Files in current directory:", os.listdir())
|
| 54 |
|
| 55 |
try:
|
| 56 |
-
with open("./src/
|
| 57 |
products = json.load(f)
|
| 58 |
except FileNotFoundError:
|
| 59 |
st.error("⚠️ تعذر تحميل المنتجات – تحقق من وجود ملف 'product_catalog.json'")
|
|
|
|
| 53 |
print("Files in current directory:", os.listdir())
|
| 54 |
|
| 55 |
try:
|
| 56 |
+
with open("./src/product_catalog.json", "r", encoding="utf-8") as f:
|
| 57 |
products = json.load(f)
|
| 58 |
except FileNotFoundError:
|
| 59 |
st.error("⚠️ تعذر تحميل المنتجات – تحقق من وجود ملف 'product_catalog.json'")
|