Spaces:
Runtime error
Runtime error
batch size
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def get_similar_paper(
|
|
48 |
tokenizer,
|
49 |
abstract_text_input,
|
50 |
papers,
|
51 |
-
batch=
|
52 |
)
|
53 |
|
54 |
results = {
|
@@ -242,9 +242,7 @@ Below we describe how to use the tool. Also feel free to check out the [video]()
|
|
242 |
with gr.Row():
|
243 |
compute_btn = gr.Button('What Makes This a Good Match?')
|
244 |
|
245 |
-
# TODO indicate the progress when pressed
|
246 |
with gr.Row():
|
247 |
-
#search_status = gr.Label(label="Search Status", visible=True)
|
248 |
search_status = gr.Textbox(label='Search Status', interactive=False, visible=False)
|
249 |
|
250 |
### OVERVIEW
|
|
|
48 |
tokenizer,
|
49 |
abstract_text_input,
|
50 |
papers,
|
51 |
+
batch=10
|
52 |
)
|
53 |
|
54 |
results = {
|
|
|
242 |
with gr.Row():
|
243 |
compute_btn = gr.Button('What Makes This a Good Match?')
|
244 |
|
|
|
245 |
with gr.Row():
|
|
|
246 |
search_status = gr.Textbox(label='Search Status', interactive=False, visible=False)
|
247 |
|
248 |
### OVERVIEW
|