Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ EOS_STRING = '</s>'
|
|
14 |
EOT_STRING = '<EOT>'
|
15 |
|
16 |
# Load the private model with access token
|
17 |
-
access_token = os.environ.get('
|
18 |
if not access_token:
|
19 |
raise ValueError("Hugging Face model access token is not set. Set the HF_MODEL_ACCESS_TOKEN environment variable.")
|
20 |
|
|
|
14 |
EOT_STRING = '<EOT>'
|
15 |
|
16 |
# Load the private model with access token
|
17 |
+
access_token = os.environ.get('chatbot', False)
|
18 |
if not access_token:
|
19 |
raise ValueError("Hugging Face model access token is not set. Set the HF_MODEL_ACCESS_TOKEN environment variable.")
|
20 |
|