anmoldograpsl commited on
Commit
f80f788
·
verified ·
1 Parent(s): 97669b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,7 +4,8 @@ from huggingface_hub import login
4
  from PIL import Image
5
 
6
  # Step 1: Authenticate with Hugging Face using your token
7
- login(token="") # Paste your token here
 
8
 
9
  # Step 2: Load the processor and the private model
10
  model_name = "anushettypsl/paligemma_vqav2" # Replace with actual model link
 
4
  from PIL import Image
5
 
6
  # Step 1: Authenticate with Hugging Face using your token
7
+ hf_token = os.getenv("HF_TOKEN")
8
+ login(token=hf_token) # Paste your token here
9
 
10
  # Step 2: Load the processor and the private model
11
  model_name = "anushettypsl/paligemma_vqav2" # Replace with actual model link