broadfield commited on
Commit
82c4ade
·
verified ·
1 Parent(s): 8dbaca9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -9
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.Group():
82
- with gr.Row():
83
- query=gr.Textbox(label="Query")
84
- num=gr.Number(label="Count",step=1,value=10,interactive=False)
85
- sub=gr.Button(size='lg')
86
- with gr.Row():
87
- prev_btn=gr.Button("Previous",interactive=False)
88
- show_html=gr.HTML()
89
- next_btn=gr.Button("Next")
 
 
 
 
 
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)