Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -356,9 +356,9 @@ def summarize(inp,history,data=None,files=None,url=None,pdf_url=None,pdf_batch=N
|
|
356 |
json_out = compress_data(c,inp,out)
|
357 |
#json_box.append(json_out)
|
358 |
|
359 |
-
json_object = json.dumps(eval(json_out), indent=4)
|
360 |
#json_box.append(json_out)
|
361 |
-
print(f'JSON_BOX:: {
|
362 |
# Writing to sample.json
|
363 |
#with open("tmp.json", "w") as outfile:
|
364 |
# outfile.write(json_object)
|
|
|
356 |
json_out = compress_data(c,inp,out)
|
357 |
#json_box.append(json_out)
|
358 |
|
359 |
+
#json_object = json.dumps(eval(json_out), indent=4)
|
360 |
#json_box.append(json_out)
|
361 |
+
print(f'JSON_BOX:: {json_out}')
|
362 |
# Writing to sample.json
|
363 |
#with open("tmp.json", "w") as outfile:
|
364 |
# outfile.write(json_object)
|