Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -252,10 +252,11 @@ def summarize(inp,history,report_check,sum_mem_check,data=None):
|
|
252 |
if sum_mem_check=="Memory":
|
253 |
#save_memory(inp,out)
|
254 |
rawp = "Complete"
|
255 |
-
if sum_mem_check=="
|
256 |
json_out = compress_data(c,inp,out)
|
257 |
|
258 |
out = str(json_out)
|
|
|
259 |
if report_check:
|
260 |
rl = len(out)
|
261 |
print(f'rl:: {rl}')
|
|
|
252 |
if sum_mem_check=="Memory":
|
253 |
#save_memory(inp,out)
|
254 |
rawp = "Complete"
|
255 |
+
if sum_mem_check=="Summary":
|
256 |
json_out = compress_data(c,inp,out)
|
257 |
|
258 |
out = str(json_out)
|
259 |
+
print (out)
|
260 |
if report_check:
|
261 |
rl = len(out)
|
262 |
print(f'rl:: {rl}')
|