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