Spaces:
Running
Running
Deploy PyCaret model baseline_dt_20250426_212853.pkl with fixed indentation
Browse files
app.py
CHANGED
@@ -24,6 +24,8 @@ except AttributeError: # Fallback for older Streamlit versions or different cont
|
|
24 |
|
25 |
# --- Model Configuration ---
|
26 |
MODEL_FILE = "model.pkl" # Relative path within the Space
|
|
|
|
|
27 |
|
28 |
# --- Processed Schema (for type checking later) ---
|
29 |
# Use double braces to embed the schema dict correctly in the generated code
|
|
|
24 |
|
25 |
# --- Model Configuration ---
|
26 |
MODEL_FILE = "model.pkl" # Relative path within the Space
|
27 |
+
# --- PyCaret Task Module (as a string for conditional logic) --- # <<< --- ADD THIS
|
28 |
+
APP_PYCARET_TASK_MODULE = "pycaret.classification"
|
29 |
|
30 |
# --- Processed Schema (for type checking later) ---
|
31 |
# Use double braces to embed the schema dict correctly in the generated code
|