Spaces:
Running
Running
Update app.py
Browse files
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("
|
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.")
|