Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -90,8 +90,8 @@ with gr.Blocks(css=style,head=head) as b:
|
|
90 |
|
91 |
hid_start=gr.Number(step=1,value=0,visible=True)
|
92 |
|
93 |
-
next_btn.click(next_show,[hid_start],[prev_btn,show_html,hid_start]).then(search,[query,num,
|
94 |
-
prev_btn.click(next_show,[hid_start],[prev_btn,show_html,hid_start]).then(search,[query,num,
|
95 |
|
96 |
sub.click(search,[query,num,start],[json_out,html_out])
|
97 |
b.launch()
|
|
|
90 |
|
91 |
hid_start=gr.Number(step=1,value=0,visible=True)
|
92 |
|
93 |
+
next_btn.click(next_show,[hid_start],[prev_btn,show_html,hid_start]).then(search,[query,num,hid_start],[json_out,html_out])
|
94 |
+
prev_btn.click(next_show,[hid_start],[prev_btn,show_html,hid_start]).then(search,[query,num,hid_start],[json_out,html_out])
|
95 |
|
96 |
sub.click(search,[query,num,start],[json_out,html_out])
|
97 |
b.launch()
|