vincentmin commited on
Commit
1d3a54f
·
1 Parent(s): e210228

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -80,14 +80,17 @@ with gr.Blocks() as demo:
80
  with gr.Column():
81
  with gr.Accordion("Parameters", open=False):
82
  lookback_days = gr.Number(2, label="Articles from this many days in the past will be searched through.", minimum=1, maximum=7)
 
83
  category = gr.Textbox(value="hep-th", label="Which category to search through. See https://arxiv.org/category_taxonomy for possible values.")
84
- input_text = gr.Textbox(placeholder="Describe your field of research in a few words")
85
  with gr.Box():
 
86
  gr.Examples(
87
  [["Supersymmetric Conformal Field Theory"], ["Black hole information paradox"]],
88
  input_text,
89
  )
90
- btn = gr.Button(value="Submit")
 
91
 
92
  with gr.Column():
93
  output = gr.Markdown("Press 'submit' to see your results.")
 
80
  with gr.Column():
81
  with gr.Accordion("Parameters", open=False):
82
  lookback_days = gr.Number(2, label="Articles from this many days in the past will be searched through.", minimum=1, maximum=7)
83
+
84
  category = gr.Textbox(value="hep-th", label="Which category to search through. See https://arxiv.org/category_taxonomy for possible values.")
85
+
86
  with gr.Box():
87
+ input_text = gr.Textbox(placeholder="Describe your field of research in a few words")
88
  gr.Examples(
89
  [["Supersymmetric Conformal Field Theory"], ["Black hole information paradox"]],
90
  input_text,
91
  )
92
+
93
+ btn = gr.Button(value="Submit")
94
 
95
  with gr.Column():
96
  output = gr.Markdown("Press 'submit' to see your results.")