Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -178,7 +178,7 @@ def load_datasets():
|
|
| 178 |
try:
|
| 179 |
with st.spinner('Loading dataset...'):
|
| 180 |
# Use BytesIO to read the CSV content
|
| 181 |
-
original_data = pd.read_csv(BytesIO(CTP_Model1.csv), low_memory=False)
|
| 182 |
|
| 183 |
|
| 184 |
# Ensure column names match the model's expectations
|
|
|
|
| 178 |
try:
|
| 179 |
with st.spinner('Loading dataset...'):
|
| 180 |
# Use BytesIO to read the CSV content
|
| 181 |
+
original_data = pd.read_csv(BytesIO('CTP_Model1.csv'), low_memory=False)
|
| 182 |
|
| 183 |
|
| 184 |
# Ensure column names match the model's expectations
|