Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ def details_fn(query):
|
|
112 |
if not img['src'].startswith("data:"):
|
113 |
imga=img['src']
|
114 |
if imga.startswith("/"):
|
115 |
-
imga = f'{query.strip("/") if query.endswith("/")}{imga}'
|
116 |
im_id = f'img_{i}'
|
117 |
link_list.append(imga)
|
118 |
image_out += f"""
|
|
|
112 |
if not img['src'].startswith("data:"):
|
113 |
imga=img['src']
|
114 |
if imga.startswith("/"):
|
115 |
+
imga = f'{query.strip("/") if query.endswith("/") else query}{imga}'
|
116 |
im_id = f'img_{i}'
|
117 |
link_list.append(imga)
|
118 |
image_out += f"""
|