not-lain commited on
Commit
4e12ec0
ยท
1 Parent(s): c3eea29

plz work \(T-T)/

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,7 +109,7 @@ with gr.Blocks() as demo :
109
  files = gr.Files(label="Upload PDFs",type="filepath",file_count="multiple")
110
  query = gr.Text(label="query")
111
  with gr.Accordion("number of references",open=False):
112
- k = gr.Number(value=3)
113
  button = gr.Button("search")
114
  with gr.Column():
115
  output = gr.Textbox(label="output")
 
109
  files = gr.Files(label="Upload PDFs",type="filepath",file_count="multiple")
110
  query = gr.Text(label="query")
111
  with gr.Accordion("number of references",open=False):
112
+ k = gr.Number(value=3,show_label=False,precision=0,minimum=1,container=False)
113
  button = gr.Button("search")
114
  with gr.Column():
115
  output = gr.Textbox(label="output")