Omnibus commited on
Commit
b5a88b3
·
verified ·
1 Parent(s): 7170124

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -486,7 +486,7 @@ def summarize(inp,history,data=None,files=None,directory=None,url=None,pdf_url=N
486
  line=line.strip().replace('"',"")
487
  if "```" in chart_list[ii]:
488
  while True:
489
- line_out+=chart_list[ii+cnti]
490
  cnti+=1
491
  if "```" in chart_list[ii+cnti]:
492
  go=False
 
486
  line=line.strip().replace('"',"")
487
  if "```" in chart_list[ii]:
488
  while True:
489
+ line_out+=f'{chart_list[ii+cnti].strip().strip("\n").replace('"',"")}\n'
490
  cnti+=1
491
  if "```" in chart_list[ii+cnti]:
492
  go=False