Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -25,7 +25,7 @@ def load_and_prepare_data():
|
|
| 25 |
|
| 26 |
if os.path.exists(DATA_FILE_PATH):
|
| 27 |
try:
|
| 28 |
-
df = pd.read_csv(DATA_FILE_PATH)
|
| 29 |
st.success(f"Data loaded successfully from {DATA_FILE_PATH}.")
|
| 30 |
except Exception as e:
|
| 31 |
st.error(f"Error reading {DATA_FILE_PATH}. Please check file integrity and format (CSV). Error: {e}")
|
|
|
|
| 25 |
|
| 26 |
if os.path.exists(DATA_FILE_PATH):
|
| 27 |
try:
|
| 28 |
+
df = pd.read_csv(DATA_FILE_PATH, encoding='latin1')
|
| 29 |
st.success(f"Data loaded successfully from {DATA_FILE_PATH}.")
|
| 30 |
except Exception as e:
|
| 31 |
st.error(f"Error reading {DATA_FILE_PATH}. Please check file integrity and format (CSV). Error: {e}")
|