pritamdeka commited on
Commit
db3b8b4
Β·
1 Parent(s): 0dd2adc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -265,12 +265,12 @@ igen_pubmed = gr.Interface(keyphrase_generator,
265
  type="value",
266
  default='sentence-transformers/all-mpnet-base-v1',
267
  label="Select any SBERT model for keyphrases from the list below"),
268
- gr.inputs.Slider(minimum=5, maximum=30, step=1, default=10, label="Max Keywords")
269
  gr.inputs.Dropdown(choices=['cambridgeltl/SapBERT-from-PubMedBERT-fulltext',
270
  'cambridgeltl/SapBERT-from-PubMedBERT-fulltext-mean-token'],
271
  type="value",
272
  default='cambridgeltl/SapBERT-from-PubMedBERT-fulltext',
273
- label="Select any SapBERT model for clustering from the list below"),],
274
  outputs=gr.outputs.Dataframe(type="auto", label="dataframe",max_rows=10, max_cols=None, overflow_row_behaviour="paginate"),
275
  theme="peach",
276
  title="Scientific Article Keyphrase Generator", description="Generates the keyphrases from an article which best describes the article.",
 
265
  type="value",
266
  default='sentence-transformers/all-mpnet-base-v1',
267
  label="Select any SBERT model for keyphrases from the list below"),
268
+ gr.inputs.Slider(minimum=5, maximum=30, step=1, default=10, label="Max Keywords"),
269
  gr.inputs.Dropdown(choices=['cambridgeltl/SapBERT-from-PubMedBERT-fulltext',
270
  'cambridgeltl/SapBERT-from-PubMedBERT-fulltext-mean-token'],
271
  type="value",
272
  default='cambridgeltl/SapBERT-from-PubMedBERT-fulltext',
273
+ label="Select any SapBERT model for clustering from the list below")],
274
  outputs=gr.outputs.Dataframe(type="auto", label="dataframe",max_rows=10, max_cols=None, overflow_row_behaviour="paginate"),
275
  theme="peach",
276
  title="Scientific Article Keyphrase Generator", description="Generates the keyphrases from an article which best describes the article.",