Commit
·
aec8a3d
1
Parent(s):
f4d9912
update hf token secret key
Browse files
app.py
CHANGED
|
@@ -113,7 +113,7 @@ def main():
|
|
| 113 |
pass
|
| 114 |
|
| 115 |
def save_results(answers):
|
| 116 |
-
api_token = os.getenv("
|
| 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 |
|