Spaces:
Paused
Paused
Update app.py
Browse files
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().
|
| 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"
|