ww commited on
Commit
72cd4ab
·
1 Parent(s): d10e90d
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def generate_response(
28
  print(type(history))
29
  listObject = ""
30
  try:
31
- listObject = list(system_prompt)
32
  except ValueError:
33
  print("system_prompt not a list")
34
 
 
28
  print(type(history))
29
  listObject = ""
30
  try:
31
+ listObject = json.loads(system_prompt)
32
  except ValueError:
33
  print("system_prompt not a list")
34