Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ function closefn(inn) {
|
|
58 |
}
|
59 |
function readfn(inn) {
|
60 |
console.log(inn);
|
61 |
-
var frame_off = document.getElementById("
|
62 |
frame_off.value = inn;
|
63 |
}
|
64 |
</script>
|
@@ -117,7 +117,7 @@ with gr.Blocks(css=style,head=head) as b:
|
|
117 |
html_out=gr.HTML()
|
118 |
json_out=gr.JSON()
|
119 |
|
120 |
-
hid_start=gr.Number(elem_id='
|
121 |
hid_start=gr.Number(step=1,value=0,visible=False, interactive=False)
|
122 |
|
123 |
next_btn.click(next_show,[hid_start],[prev_btn,hid_start]).then(show_num,hid_start,show_html).then(search,[query,num,hid_start],[html_out])
|
|
|
58 |
}
|
59 |
function readfn(inn) {
|
60 |
console.log(inn);
|
61 |
+
var frame_off = document.getElementById("readit" + String(inn));
|
62 |
frame_off.value = inn;
|
63 |
}
|
64 |
</script>
|
|
|
117 |
html_out=gr.HTML()
|
118 |
json_out=gr.JSON()
|
119 |
|
120 |
+
hid_start=gr.Number(elem_id='readit',step=1,value=0,visible=True, interactive=True)
|
121 |
hid_start=gr.Number(step=1,value=0,visible=False, interactive=False)
|
122 |
|
123 |
next_btn.click(next_show,[hid_start],[prev_btn,hid_start]).then(show_num,hid_start,show_html).then(search,[query,num,hid_start],[html_out])
|