Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ def details_fn(query):
|
|
114 |
q_beg="http://"
|
115 |
query_src=query.split("//",1)[1]
|
116 |
if "/" in query_src:
|
117 |
-
query_src.split("/",1)[0]
|
118 |
query_comp=f'{q_beg}{query_src}'
|
119 |
for i,img in enumerate(images):
|
120 |
if not img['src'].startswith("data:"):
|
|
|
114 |
q_beg="http://"
|
115 |
query_src=query.split("//",1)[1]
|
116 |
if "/" in query_src:
|
117 |
+
query_src=query_src.split("/",1)[0]
|
118 |
query_comp=f'{q_beg}{query_src}'
|
119 |
for i,img in enumerate(images):
|
120 |
if not img['src'].startswith("data:"):
|