EdBoy2202 commited on
Commit
ab20d84
·
verified ·
1 Parent(s): 094396a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(BytesIO(model_content))
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()