Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -409,7 +409,7 @@ def summarize(inp,history,data=None,files=None,url=None,pdf_url=None,pdf_batch=N
|
|
409 |
# outfile.write(json_object)
|
410 |
#outfile.close()
|
411 |
|
412 |
-
|
413 |
out = str(json_out)
|
414 |
rl = len(out)
|
415 |
print(f'rl:: {rl}')
|
@@ -434,7 +434,7 @@ def summarize(inp,history,data=None,files=None,url=None,pdf_url=None,pdf_batch=N
|
|
434 |
#task = "complete?"
|
435 |
#history.clear()
|
436 |
history.append((inp,rawp))
|
437 |
-
yield "", history,error_box,
|
438 |
|
439 |
#################################
|
440 |
def clear_fn():
|
|
|
409 |
# outfile.write(json_object)
|
410 |
#outfile.close()
|
411 |
|
412 |
+
json_box.append(json_out)
|
413 |
out = str(json_out)
|
414 |
rl = len(out)
|
415 |
print(f'rl:: {rl}')
|
|
|
434 |
#task = "complete?"
|
435 |
#history.clear()
|
436 |
history.append((inp,rawp))
|
437 |
+
yield "", history,error_box,json_box
|
438 |
|
439 |
#################################
|
440 |
def clear_fn():
|