Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -95,7 +95,7 @@ def load_id_answer_mapping():
|
|
| 95 |
encoded_mapping = os.getenv("ID_ANSWER_MAPPING") # 读取 Secret
|
| 96 |
if not encoded_mapping:
|
| 97 |
raise ValueError("ID_ANSWER_MAPPING secret not found!")
|
| 98 |
-
|
| 99 |
decoded_mapping = base64.b64decode(encoded_mapping).decode("utf-8")
|
| 100 |
return json.loads(decoded_mapping)
|
| 101 |
|
|
|
|
| 95 |
encoded_mapping = os.getenv("ID_ANSWER_MAPPING") # 读取 Secret
|
| 96 |
if not encoded_mapping:
|
| 97 |
raise ValueError("ID_ANSWER_MAPPING secret not found!")
|
| 98 |
+
print(encoded_mapping)
|
| 99 |
decoded_mapping = base64.b64decode(encoded_mapping).decode("utf-8")
|
| 100 |
return json.loads(decoded_mapping)
|
| 101 |
|