Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -170,6 +170,7 @@ def format_t(inp):
|
|
170 |
load_js = """
|
171 |
func = function(a) {
|
172 |
console.log(a);
|
|
|
173 |
}
|
174 |
"""
|
175 |
|
@@ -191,7 +192,7 @@ with gr.Blocks() as app:
|
|
191 |
with gr.Row() as im_row:
|
192 |
im_list = gr.Gallery()
|
193 |
link_list=gr.Textbox()
|
194 |
-
app.load(None,None,
|
195 |
search_btn.click(search_fn,[search_box,num_return],output)
|
196 |
btn.click(first,None,output).then(test,input,output).then(details_fn,input,[details,images])
|
197 |
app.launch()
|
|
|
170 |
load_js = """
|
171 |
func = function(a) {
|
172 |
console.log(a);
|
173 |
+
return[a];
|
174 |
}
|
175 |
"""
|
176 |
|
|
|
192 |
with gr.Row() as im_row:
|
193 |
im_list = gr.Gallery()
|
194 |
link_list=gr.Textbox()
|
195 |
+
app.load(None,None,link_list,js=load_js)
|
196 |
search_btn.click(search_fn,[search_box,num_return],output)
|
197 |
btn.click(first,None,output).then(test,input,output).then(details_fn,input,[details,images])
|
198 |
app.launch()
|