Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -483,12 +483,12 @@ def summarize(inp,history,data=None,files=None,directory=None,url=None,pdf_url=N
|
|
| 483 |
line_out=""
|
| 484 |
for ii, line in enumerate(chart_list):
|
| 485 |
if go:
|
| 486 |
-
line=line.strip()
|
| 487 |
if "```" in chart_list[ii]:
|
| 488 |
while True:
|
| 489 |
-
line_out+=
|
| 490 |
cnti+=1
|
| 491 |
-
if "```" in
|
| 492 |
go=False
|
| 493 |
break
|
| 494 |
|
|
|
|
| 483 |
line_out=""
|
| 484 |
for ii, line in enumerate(chart_list):
|
| 485 |
if go:
|
| 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
|
| 493 |
break
|
| 494 |
|