MarcoParola commited on
Commit
aec8a3d
·
1 Parent(s): f4d9912

update hf token secret key

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -113,7 +113,7 @@ def main():
113
  pass
114
 
115
  def save_results(answers):
116
- api_token = os.getenv("HUGGINGFACE_TOKEN")
117
  if not api_token:
118
  raise ValueError("Hugging Face API token not found. Please set the HF_API_TOKEN environment variable.")
119
 
 
113
  pass
114
 
115
  def save_results(answers):
116
+ api_token = os.getenv("HFTOKEN")
117
  if not api_token:
118
  raise ValueError("Hugging Face API token not found. Please set the HF_API_TOKEN environment variable.")
119