Scharbhen commited on
Commit
2f21f91
1 Parent(s): 507260d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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