davanstrien HF Staff commited on
Commit
b04cbde
·
1 Parent(s): 28526b0

Add author name and arXiv ID textbox to UI

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -121,10 +121,12 @@ with gr.Blocks() as demo:
121
  with gr.Row():
122
  gr.LoginButton(size="sm")
123
  gr.LogoutButton(size="sm")
124
- author_name = gr.Textbox(label="Author name", interactive=True)
 
 
125
  positive_arxiv_ids = gr.Textbox(
126
- "e.g. 1910.01108",
127
- label="ArXiv ID(s) for papers for which you are an author",
128
  interactive=True,
129
  )
130
  btn = gr.Button("Get papers")
 
121
  with gr.Row():
122
  gr.LoginButton(size="sm")
123
  gr.LogoutButton(size="sm")
124
+ author_name = gr.Textbox(
125
+ placeholder="daniel van strien", label="Your name", interactive=True
126
+ )
127
  positive_arxiv_ids = gr.Textbox(
128
+ placeholder="1910.01108",
129
+ label="ArXiv ID for a paper for which you are an author",
130
  interactive=True,
131
  )
132
  btn = gr.Button("Get papers")