Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -116,8 +116,9 @@ with gr.Blocks() as demo:
|
|
116 |
title="Paper Selection Prediction",
|
117 |
description="Predict if @_akhaliq will select your paper into Hugging Face papers. Enter the title, authors, and abstract of your paper, or enter an arXiv URL/ID.",
|
118 |
live=False,
|
|
|
119 |
)
|
120 |
autofill_btn = gr.Button("Autofill using arXiv")
|
121 |
-
autofill_btn.click(update_fields, inputs=[arxiv_box], outputs=[title_box, author_box, abstract_box])
|
122 |
|
123 |
-
demo.queue(
|
|
|
116 |
title="Paper Selection Prediction",
|
117 |
description="Predict if @_akhaliq will select your paper into Hugging Face papers. Enter the title, authors, and abstract of your paper, or enter an arXiv URL/ID.",
|
118 |
live=False,
|
119 |
+
concurrency_limit=1
|
120 |
)
|
121 |
autofill_btn = gr.Button("Autofill using arXiv")
|
122 |
+
autofill_btn.click(update_fields, inputs=[arxiv_box], outputs=[title_box, author_box, abstract_box], concurrency_limit=1)
|
123 |
|
124 |
+
demo.queue(max_size=20).launch(enable_queue=True)
|