Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -78,21 +78,17 @@ def show_num(cur):
|
|
78 |
return html_out
|
79 |
|
80 |
with gr.Blocks(css=style,head=head) as b:
|
81 |
-
with gr.
|
82 |
-
gr.
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
prev_btn=gr.Button("Previous",interactive=False)
|
93 |
-
show_html=gr.HTML()
|
94 |
-
next_btn=gr.Button("Next")
|
95 |
-
gr.Column(scale=1)
|
96 |
html_out=gr.HTML()
|
97 |
|
98 |
hid_start=gr.Number(step=1,value=0,visible=False, interactive=False)
|
|
|
78 |
return html_out
|
79 |
|
80 |
with gr.Blocks(css=style,head=head) as b:
|
81 |
+
with gr.Group():
|
82 |
+
with gr.Row():
|
83 |
+
query=gr.Textbox(label="Query")
|
84 |
+
num=gr.Number(label="Count",step=1,value=10,interactive=False)
|
85 |
+
with gr.Row():
|
86 |
+
sub=gr.Button(size='lg')
|
87 |
+
with gr.Group():
|
88 |
+
with gr.Row():
|
89 |
+
prev_btn=gr.Button("Previous",interactive=False)
|
90 |
+
show_html=gr.HTML()
|
91 |
+
next_btn=gr.Button("Next")
|
|
|
|
|
|
|
|
|
92 |
html_out=gr.HTML()
|
93 |
|
94 |
hid_start=gr.Number(step=1,value=0,visible=False, interactive=False)
|