backup
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def check_environment():
|
|
25 |
|
26 |
# Login to Hugging Face
|
27 |
check_environment()
|
28 |
-
login(token=os.environ["HF_TOKEN"])
|
29 |
|
30 |
# Load model and processor (do this outside the inference function to avoid reloading)
|
31 |
base_model_path = "meta-llama/Llama-3.2-11B-Vision-Instruct"
|
|
|
25 |
|
26 |
# Login to Hugging Face
|
27 |
check_environment()
|
28 |
+
login(token=os.environ["HF_TOKEN"], add_to_git_credential=True)
|
29 |
|
30 |
# Load model and processor (do this outside the inference function to avoid reloading)
|
31 |
base_model_path = "meta-llama/Llama-3.2-11B-Vision-Instruct"
|