AISparking commited on
Commit
41d3f98
·
verified ·
1 Parent(s): e67bd67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -19,7 +19,10 @@ print("Client initialized.")
19
 
20
  SYSTEM_PROMPTS = os.getenv("SYSTEM_PROMPTS")
21
  print("\n-----------------------------------\n")
22
- print(SYSTEM_PROMPTS)
 
 
 
23
  print("\n-----------------------------------\n")
24
 
25
  def respond(
 
19
 
20
  SYSTEM_PROMPTS = os.getenv("SYSTEM_PROMPTS")
21
  print("\n-----------------------------------\n")
22
+ # Convert the JSON string (SYSTEM_PROMPTS) back to a Python dictionary
23
+ if SYSTEM_PROMPTS:
24
+ my_dict = json.loads(SYSTEM_PROMPTS)
25
+ print(my_dict)
26
  print("\n-----------------------------------\n")
27
 
28
  def respond(