Spaces:
Sleeping
Sleeping
ww commited on
Commit ·
72cd4ab
1
Parent(s): d10e90d
json
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ def generate_response(
|
|
| 28 |
print(type(history))
|
| 29 |
listObject = ""
|
| 30 |
try:
|
| 31 |
-
listObject =
|
| 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 |
|