acecalisto3 commited on
Commit
3daddfc
·
verified ·
1 Parent(s): 2f5f236

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import torch
10
  from huggingface_hub import hf_hub_url, cached_download, HfApi
11
 
12
  # Access Hugging Face API key from secrets
13
- hf_token = st.secrets["secrets"]["hf_token"]
14
  if not hf_token:
15
  st.error("Hugging Face API key not found. Please make sure it is set in the secrets.")
16
 
 
10
  from huggingface_hub import hf_hub_url, cached_download, HfApi
11
 
12
  # Access Hugging Face API key from secrets
13
+ hf_token = st.secrets["hf_token"]
14
  if not hf_token:
15
  st.error("Hugging Face API key not found. Please make sure it is set in the secrets.")
16