dwb2023 commited on
Commit
dce3abc
1 Parent(s): dfc92d5

Update app.py

Browse files

to address 401 Client Error: Unauthorized for url: https://huggingface.co/google/paligemma-3b-mix-224/raw/main/config.json

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,8 +13,8 @@ subprocess.run(
13
  shell=True,
14
  )
15
 
16
- hf_token = os.getenv("HF_TOKEN")
17
- login(token=hf_token, add_to_git_credential=True)
18
 
19
  # Cache for storing loaded models and their summaries
20
  model_cache = {}
 
13
  shell=True,
14
  )
15
 
16
+ HF_TOKEN = os.getenv("HF_TOKEN")
17
+ login(token=HF_TOKEN, add_to_git_credential=True)
18
 
19
  # Cache for storing loaded models and their summaries
20
  model_cache = {}