Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
|
|
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
|