pritamdeka commited on
Commit
e56d800
Β·
1 Parent(s): b1fee50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -270,14 +270,15 @@ igen_pubmed = gr.Interface(keyphrase_generator,
270
  'sentence-transformers/all-distilroberta-v1',
271
  'sentence-transformers/gtr-t5-large',
272
  'pritamdeka/S-Bluebert-snli-multinli-stsb',
273
- 'pritamdeka/S-Biomed-Roberta-snli-multinli-stsb',
 
274
  'sentence-transformers/stsb-mpnet-base-v2',
275
  'sentence-transformers/stsb-roberta-base-v2',
276
  'sentence-transformers/stsb-distilroberta-base-v2',
277
  'sentence-transformers/sentence-t5-large',
278
  'sentence-transformers/sentence-t5-base'],
279
  type="value",
280
- default='pritamdeka/S-Biomed-Roberta-snli-multinli-stsb',
281
  label="Select any SBERT model for TextRank from the list below"),
282
  gr.inputs.Dropdown(choices=['sentence-transformers/paraphrase-mpnet-base-v2',
283
  'sentence-transformers/all-mpnet-base-v1',
@@ -304,9 +305,10 @@ igen_pubmed = gr.Interface(keyphrase_generator,
304
  label="Select any SapBERT model for clustering from the list below"),
305
  gr.inputs.Slider(minimum=5, maximum=15, step=1, default=10, label="PubMed Max Abstracts"),
306
  gr.inputs.Dropdown(choices=['pritamdeka/S-Bluebert-snli-multinli-stsb',
 
307
  'pritamdeka/S-Biomed-Roberta-snli-multinli-stsb'],
308
  type="value",
309
- default='pritamdeka/S-Biomed-Roberta-snli-multinli-stsb',
310
  label="Select any SBERT model for abstracts from the list below")],
311
  #outputs=gr.outputs.Dataframe(type="auto", label="Retrieved Results from PubMed",max_cols=2, overflow_row_behaviour="paginate"),
312
  outputs=gr.outputs.JSON(label="Title and Abstracts"),
 
270
  'sentence-transformers/all-distilroberta-v1',
271
  'sentence-transformers/gtr-t5-large',
272
  'pritamdeka/S-Bluebert-snli-multinli-stsb',
273
+ 'pritamdeka/S-Biomed-Roberta-snli-multinli-stsb',
274
+ 'pritamdeka/S-BioBert-snli-multinli-stsb',
275
  'sentence-transformers/stsb-mpnet-base-v2',
276
  'sentence-transformers/stsb-roberta-base-v2',
277
  'sentence-transformers/stsb-distilroberta-base-v2',
278
  'sentence-transformers/sentence-t5-large',
279
  'sentence-transformers/sentence-t5-base'],
280
  type="value",
281
+ default='pritamdeka/S-BioBert-snli-multinli-stsb',
282
  label="Select any SBERT model for TextRank from the list below"),
283
  gr.inputs.Dropdown(choices=['sentence-transformers/paraphrase-mpnet-base-v2',
284
  'sentence-transformers/all-mpnet-base-v1',
 
305
  label="Select any SapBERT model for clustering from the list below"),
306
  gr.inputs.Slider(minimum=5, maximum=15, step=1, default=10, label="PubMed Max Abstracts"),
307
  gr.inputs.Dropdown(choices=['pritamdeka/S-Bluebert-snli-multinli-stsb',
308
+ 'pritamdeka/S-BioBert-snli-multinli-stsb',
309
  'pritamdeka/S-Biomed-Roberta-snli-multinli-stsb'],
310
  type="value",
311
+ default='pritamdeka/S-BioBert-snli-multinli-stsb',
312
  label="Select any SBERT model for abstracts from the list below")],
313
  #outputs=gr.outputs.Dataframe(type="auto", label="Retrieved Results from PubMed",max_cols=2, overflow_row_behaviour="paginate"),
314
  outputs=gr.outputs.JSON(label="Title and Abstracts"),