yuntian-deng commited on
Commit
edce13a
·
verified ·
1 Parent(s): 4daf261

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -71,9 +71,12 @@ iface = gr.Interface(
71
  fn=predict,
72
  inputs=[gr.Textbox(placeholder="Enter paper title", value=example_title), gr.Textbox(placeholder="Enter authors (separated by comma)", value=example_authors), gr.TextArea(placeholder="Enter abstract", value=example_abstract)],
73
  outputs=[gr.Textbox(label="Predicted Score"), gr.Textbox(label="Predicted Selection Probability")],
74
- title="Will your paper be selected by @_akhaliq?",
75
- description="Enter the title, authors, and abstract of the paper to predict whether @_akhaliq will select your paper!",
76
- live=True
 
 
 
77
  )
78
 
79
  iface.launch()
 
71
  fn=predict,
72
  inputs=[gr.Textbox(placeholder="Enter paper title", value=example_title), gr.Textbox(placeholder="Enter authors (separated by comma)", value=example_authors), gr.TextArea(placeholder="Enter abstract", value=example_abstract)],
73
  outputs=[gr.Textbox(label="Predicted Score"), gr.Textbox(label="Predicted Selection Probability")],
74
+ title="Paper Selection Prediction",
75
+ description="Predict if @_akhaliq will select your paper. Enter the title, authors, and abstract of your paper.",
76
+ live=False,
77
+ queue=True,
78
+ max_threads=1,
79
+ max_queue_size=20
80
  )
81
 
82
  iface.launch()