Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,6 +29,7 @@ model = load_model()
|
|
| 29 |
# Load dataset for patient predictions
|
| 30 |
@st.cache_data
|
| 31 |
def load_base_data():
|
|
|
|
| 32 |
return pd.read_csv('full_patient_predictions.csv')
|
| 33 |
|
| 34 |
df = load_base_data()
|
|
|
|
| 29 |
# Load dataset for patient predictions
|
| 30 |
@st.cache_data
|
| 31 |
def load_base_data():
|
| 32 |
+
# If running on Hugging Face, replace the file path with the correct path or upload functionality
|
| 33 |
return pd.read_csv('full_patient_predictions.csv')
|
| 34 |
|
| 35 |
df = load_base_data()
|