Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,9 +17,10 @@ style="""
|
|
17 |
border-radius: 5px;
|
18 |
}
|
19 |
"""
|
20 |
-
jscript="""
|
21 |
-
|
22 |
-
|
|
|
23 |
"""
|
24 |
def search(q,rn):
|
25 |
api="http://export.arxiv.org/api/query?search_query=SQ&start=0&max_results=MR"
|
@@ -43,5 +44,4 @@ with gr.Blocks(css=style,js=jscript) as b:
|
|
43 |
html_out=gr.HTML()
|
44 |
json_out=gr.JSON()
|
45 |
sub.click(search,[query,num],[json_out,html_out])
|
46 |
-
b.load(None,None,None)
|
47 |
b.launch()
|
|
|
17 |
border-radius: 5px;
|
18 |
}
|
19 |
"""
|
20 |
+
jscript="""
|
21 |
+
function run(e) {
|
22 |
+
console.log(e);
|
23 |
+
}
|
24 |
"""
|
25 |
def search(q,rn):
|
26 |
api="http://export.arxiv.org/api/query?search_query=SQ&start=0&max_results=MR"
|
|
|
44 |
html_out=gr.HTML()
|
45 |
json_out=gr.JSON()
|
46 |
sub.click(search,[query,num],[json_out,html_out])
|
|
|
47 |
b.launch()
|