Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,6 @@ def details_fn(query):
|
|
66 |
<center><h3>{title}</h3><br>{description}</center>"""
|
67 |
try:
|
68 |
image_out="""
|
69 |
-
<style>
|
70 |
"""
|
71 |
images = soup.findAll('img')
|
72 |
for img in images:
|
@@ -77,7 +76,7 @@ def details_fn(query):
|
|
77 |
</div>
|
78 |
"""
|
79 |
print (img['src'])
|
80 |
-
format_out = f
|
81 |
except Exeption as e:
|
82 |
format_out = "None"
|
83 |
print (e)
|
|
|
66 |
<center><h3>{title}</h3><br>{description}</center>"""
|
67 |
try:
|
68 |
image_out="""
|
|
|
69 |
"""
|
70 |
images = soup.findAll('img')
|
71 |
for img in images:
|
|
|
76 |
</div>
|
77 |
"""
|
78 |
print (img['src'])
|
79 |
+
format_out = f"""<div>{image_out}</div>"""
|
80 |
except Exeption as e:
|
81 |
format_out = "None"
|
82 |
print (e)
|