Omnibus commited on
Commit
914075a
1 Parent(s): 4818959

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -404,7 +404,7 @@ def summarize(inp,history,seed,data=None,files=None,directory=None,url=None,pdf_
404
  line=line.strip().replace('"',"")
405
  if "```" in chart_list[ii]:
406
  while True:
407
- line_out+=chart_list[ii+cnti].strip().strip("\n").replace('"',"").replace("/"," ").replace(".","").replace(":"," ")
408
  if not line_out.strip().endswith(";"):
409
  line_out+=";"
410
  line_out+="\n"
 
404
  line=line.strip().replace('"',"")
405
  if "```" in chart_list[ii]:
406
  while True:
407
+ line_out+=chart_list[ii+cnti].strip().replace("\n"," ").replace('"',"").replace("/"," ").replace("."," ").replace(":"," ").replace("#","")
408
  if not line_out.strip().endswith(";"):
409
  line_out+=";"
410
  line_out+="\n"