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