Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -194,7 +194,7 @@ def load_model_and_encodings():
|
|
| 194 |
# Show loading message
|
| 195 |
with st.spinner('Loading model...'):
|
| 196 |
model_content = hf_hub_download(repo_id="EdBoy2202/car_prediction_model", filename="car_price_modelv3.pkl")
|
| 197 |
-
model = joblib.load(
|
| 198 |
|
| 199 |
# Load data for encodings
|
| 200 |
original_data = load_datasets()
|
|
|
|
| 194 |
# Show loading message
|
| 195 |
with st.spinner('Loading model...'):
|
| 196 |
model_content = hf_hub_download(repo_id="EdBoy2202/car_prediction_model", filename="car_price_modelv3.pkl")
|
| 197 |
+
model = joblib.load(model_content)
|
| 198 |
|
| 199 |
# Load data for encodings
|
| 200 |
original_data = load_datasets()
|