ethiotech4848 commited on
Commit
80d6c1a
·
verified ·
1 Parent(s): c76d131

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -19,8 +19,11 @@ import supervision as sv
19
  # --- Config ---
20
  # IMPORTANT: Both models are gated. You must be logged in to your Hugging Face account
21
  # and have been granted access to use them.
22
- # from huggingface_hub import login
23
- # login()
 
 
 
24
 
25
  model_qwen_id = "Qwen/Qwen2.5-VL-3B-Instruct"
26
  model_gemma_id = "google/gemma-3-4b-it"
 
19
  # --- Config ---
20
  # IMPORTANT: Both models are gated. You must be logged in to your Hugging Face account
21
  # and have been granted access to use them.
22
+ from huggingface_hub import login
23
+ hf_token = os.environ.get("HF_TOKEN")
24
+ login(token=hf_token)
25
+
26
+
27
 
28
  model_qwen_id = "Qwen/Qwen2.5-VL-3B-Instruct"
29
  model_gemma_id = "google/gemma-3-4b-it"