Update app.py
Browse files
app.py
CHANGED
@@ -528,7 +528,7 @@ def generate(prompt, history, post_check,full_conv,persona1, agent_name=agents[0
|
|
528 |
#try:
|
529 |
# for ea in
|
530 |
with open(f'{uid}.json', 'w') as f:
|
531 |
-
json_hist=json.dumps(
|
532 |
f.write(json_hist)
|
533 |
f.close()
|
534 |
|
|
|
528 |
#try:
|
529 |
# for ea in
|
530 |
with open(f'{uid}.json', 'w') as f:
|
531 |
+
json_hist=json.dumps(out_json, indent=4)
|
532 |
f.write(json_hist)
|
533 |
f.close()
|
534 |
|