Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -551,7 +551,7 @@ def create_image(url):
|
|
| 551 |
#out.append("HTML fragments: ")
|
| 552 |
#q=("a","p","span","content","article")
|
| 553 |
out=[]
|
| 554 |
-
for p in soup.find_all("pre, {'class': 'mermaid'}")
|
| 555 |
out.append(p.find('svg'))
|
| 556 |
print(out)
|
| 557 |
#out.append(p.string)
|
|
|
|
| 551 |
#out.append("HTML fragments: ")
|
| 552 |
#q=("a","p","span","content","article")
|
| 553 |
out=[]
|
| 554 |
+
for p in soup.find_all("pre, {'class': 'mermaid'}"):
|
| 555 |
out.append(p.find('svg'))
|
| 556 |
print(out)
|
| 557 |
#out.append(p.string)
|