taesiri commited on
Commit
4539911
1 Parent(s): 0a2891c
Files changed (1) hide show
  1. app.py +1 -1
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"