Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ def details_fn(query):
|
|
93 |
link_list.append(img['src'])
|
94 |
image_out += f"""
|
95 |
<div class='im_each'>
|
96 |
-
<img onclick="
|
97 |
</div>
|
98 |
"""
|
99 |
print (img['src'])
|
@@ -168,9 +168,8 @@ def format_t(inp):
|
|
168 |
return out
|
169 |
|
170 |
load_js = """
|
171 |
-
function(a) {
|
172 |
console.log(a);
|
173 |
-
return [a];
|
174 |
}
|
175 |
"""
|
176 |
|
|
|
93 |
link_list.append(img['src'])
|
94 |
image_out += f"""
|
95 |
<div class='im_each'>
|
96 |
+
<img onclick="func({img['src']})" src={img['src']}>
|
97 |
</div>
|
98 |
"""
|
99 |
print (img['src'])
|
|
|
168 |
return out
|
169 |
|
170 |
load_js = """
|
171 |
+
func = function(a) {
|
172 |
console.log(a);
|
|
|
173 |
}
|
174 |
"""
|
175 |
|