Sahil0605 commited on
Commit
9deae9f
·
1 Parent(s): 0f41a5d

first push

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +4 -4
src/streamlit_app.py CHANGED
@@ -10,10 +10,10 @@ from sklearn.tree import DecisionTreeClassifier
10
  from sklearn.metrics import accuracy_score, r2_score
11
 
12
  # Define existing directories (must already be present in environment)
13
- UPLOAD_DIR = "uploads"
14
- PROCESSED_DIR = "processed"
15
- PKL_DIR = "pkl"
16
- ENCODERS_DIR = "encoders"
17
 
18
  # Warn if directories don't exist
19
  for folder in [UPLOAD_DIR, PROCESSED_DIR, PKL_DIR, ENCODERS_DIR]:
 
10
  from sklearn.metrics import accuracy_score, r2_score
11
 
12
  # Define existing directories (must already be present in environment)
13
+ UPLOAD_DIR = "/tmp/uploads"
14
+ PROCESSED_DIR = "/tmp/processed"
15
+ PKL_DIR = "/tmp/pkl"
16
+ ENCODERS_DIR = "/tmp/encoders"
17
 
18
  # Warn if directories don't exist
19
  for folder in [UPLOAD_DIR, PROCESSED_DIR, PKL_DIR, ENCODERS_DIR]: