Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,9 @@ import requests
|
|
3 |
from PIL import Image
|
4 |
from transformers import PaliGemmaForConditionalGeneration, PaliGemmaProcessor
|
5 |
import spaces
|
|
|
|
|
|
|
6 |
|
7 |
|
8 |
@spaces.GPU
|
|
|
3 |
from PIL import Image
|
4 |
from transformers import PaliGemmaForConditionalGeneration, PaliGemmaProcessor
|
5 |
import spaces
|
6 |
+
import os
|
7 |
+
from huggingface_hub import login
|
8 |
+
login(os.getenv('hf_token'))
|
9 |
|
10 |
|
11 |
@spaces.GPU
|