yuntian-deng commited on
Commit
a331f6d
·
verified ·
1 Parent(s): ce0d1e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ example_abstract = "Chatbots such as GPT-4 and ChatGPT are now serving millions
102
  title_box = gr.Textbox(label="Paper Title", placeholder="Enter paper title", value=example_title)
103
  author_box = gr.Textbox(label="Authors (separated by comma)", placeholder="Enter authors (separated by comma)", value=example_authors)
104
  abstract_box = gr.TextArea(label="Abstract", placeholder="Enter abstract", value=example_abstract)
105
- arxiv_box = gr.Textbox(label="[Optional] Autofill using arXiv URL/ID", placeholder="[Optional] Autofill using arXiv URL/ID", change_elements=["title", "authors", "abstract"])
106
  arxiv_box.input(update_fields, inputs=[arxiv_box], outputs=[title_box, author_box, abstract_box])
107
 
108
  iface = gr.Interface(
 
102
  title_box = gr.Textbox(label="Paper Title", placeholder="Enter paper title", value=example_title)
103
  author_box = gr.Textbox(label="Authors (separated by comma)", placeholder="Enter authors (separated by comma)", value=example_authors)
104
  abstract_box = gr.TextArea(label="Abstract", placeholder="Enter abstract", value=example_abstract)
105
+ arxiv_box = gr.Textbox(label="[Optional] Autofill using arXiv URL/ID", placeholder="[Optional] Autofill using arXiv URL/ID")
106
  arxiv_box.input(update_fields, inputs=[arxiv_box], outputs=[title_box, author_box, abstract_box])
107
 
108
  iface = gr.Interface(