Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -118,6 +118,7 @@ def details_fn(query):
|
|
| 118 |
query_comp=f'{q_beg}{query_src}'
|
| 119 |
for i,img in enumerate(images):
|
| 120 |
if not img['src'].startswith("data:"):
|
|
|
|
| 121 |
imga=img['src']
|
| 122 |
print(imga)
|
| 123 |
if imga.startswith("/"):
|
|
@@ -129,7 +130,7 @@ def details_fn(query):
|
|
| 129 |
<img onclick="func('{imga}','img_{i}')" src={imga}>
|
| 130 |
</div>
|
| 131 |
"""
|
| 132 |
-
print (img['src'])
|
| 133 |
format_out = f"""{image_out}</div></div>"""
|
| 134 |
except Exception as e:
|
| 135 |
format_out = "None"
|
|
|
|
| 118 |
query_comp=f'{q_beg}{query_src}'
|
| 119 |
for i,img in enumerate(images):
|
| 120 |
if not img['src'].startswith("data:"):
|
| 121 |
+
print(query_comp)
|
| 122 |
imga=img['src']
|
| 123 |
print(imga)
|
| 124 |
if imga.startswith("/"):
|
|
|
|
| 130 |
<img onclick="func('{imga}','img_{i}')" src={imga}>
|
| 131 |
</div>
|
| 132 |
"""
|
| 133 |
+
#print (img['src'])
|
| 134 |
format_out = f"""{image_out}</div></div>"""
|
| 135 |
except Exception as e:
|
| 136 |
format_out = "None"
|