jskim commited on
Commit
a3a8d41
·
1 Parent(s): 649e53c

batch size

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -48,7 +48,7 @@ def get_similar_paper(
48
  tokenizer,
49
  abstract_text_input,
50
  papers,
51
- batch=50
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