Pavan178 commited on
Commit
a1d54f6
1 Parent(s): 113e5f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ import re
20
  # Global variables
21
  global_llm = None
22
  global_tokenizer = None
23
- hf_token = os.environ.get("HF_TOKEN")
24
 
25
  if not hf_token:
26
  raise ValueError("Hugging Face token not found. Please set the HF_TOKEN environment variable.")
 
20
  # Global variables
21
  global_llm = None
22
  global_tokenizer = None
23
+ hf_token = os.environ.get("HUGGINGFACEHUB_API_TOKEN")
24
 
25
  if not hf_token:
26
  raise ValueError("Hugging Face token not found. Please set the HF_TOKEN environment variable.")