hysts HF staff commited on
Commit
36fb353
1 Parent(s): a960886
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -43,6 +43,7 @@ with gr.Blocks(css="style.css") as demo:
43
  number_of_papers,
44
  table,
45
  ],
 
46
  )
47
 
48
  search_box.submit(
@@ -56,6 +57,7 @@ with gr.Blocks(css="style.css") as demo:
56
  number_of_papers,
57
  table,
58
  ],
 
59
  )
60
  search_button.click(
61
  fn=paper_list.render,
@@ -68,5 +70,8 @@ with gr.Blocks(css="style.css") as demo:
68
  number_of_papers,
69
  table,
70
  ],
 
71
  )
72
- demo.queue().launch()
 
 
 
43
  number_of_papers,
44
  table,
45
  ],
46
+ api_name=False,
47
  )
48
 
49
  search_box.submit(
 
57
  number_of_papers,
58
  table,
59
  ],
60
+ api_name=False,
61
  )
62
  search_button.click(
63
  fn=paper_list.render,
 
70
  number_of_papers,
71
  table,
72
  ],
73
+ api_name=False,
74
  )
75
+
76
+ if __name__ == "__main__":
77
+ demo.queue(api_open=False).launch()