Omnibus commited on
Commit
69e2600
·
verified ·
1 Parent(s): b480e9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- #json_box.append(json_out)
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,json_final
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():