Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,9 +17,9 @@ client = OpenAI(
|
|
17 |
|
18 |
print("Client initialized.")
|
19 |
|
20 |
-
|
21 |
import ast
|
22 |
-
|
23 |
|
24 |
def respond(
|
25 |
message,
|
|
|
17 |
|
18 |
print("Client initialized.")
|
19 |
|
20 |
+
SYSTEM_PROMPTS0 = os.getenv("SYSTEM_PROMPTS")
|
21 |
import ast
|
22 |
+
SYSTEM_PROMPTS = ast.literal_eval(SYSTEM_PROMPTS0) # Convert string back to dictionary
|
23 |
|
24 |
def respond(
|
25 |
message,
|