Faysal4200 commited on
Commit
cdde6a1
·
verified ·
1 Parent(s): 9719740

FINAL APP CHANGE

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -224,7 +224,7 @@ def load_vlm_model():
224
  dtype=dtype,
225
  device_map="auto",
226
  trust_remote_code=True,
227
- use_auth_token=hf_token # only needed if repo is private
228
  )
229
  except Exception as e:
230
  st.error(f"Failed to load base model from Hugging Face hub: {e}")
 
224
  dtype=dtype,
225
  device_map="auto",
226
  trust_remote_code=True,
227
+ token=hf_token
228
  )
229
  except Exception as e:
230
  st.error(f"Failed to load base model from Hugging Face hub: {e}")