Spaces:
Running
Running
FINAL APP CHANGE
Browse files
app.py
CHANGED
|
@@ -224,7 +224,7 @@ def load_vlm_model():
|
|
| 224 |
dtype=dtype,
|
| 225 |
device_map="auto",
|
| 226 |
trust_remote_code=True,
|
| 227 |
-
|
| 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}")
|