pritamdeka commited on
Commit
ac2b319
β€’
1 Parent(s): e7b9e7c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -317,13 +317,13 @@ igen_pubmed = gr.Interface(keyphrase_generator,
317
  theme="peach", layout="horizontal",
318
  title="PubMed Abstract Retriever", description="Retrieves relevant PubMed abstracts for an online article which can be used as further references. The output is in the form of JSON with <b><i>Title</i></b> and <b><i>Abstract</i></b> as the fields of the JSON output. Please note that it may take sometime for the models to load. Examples are provided below for demo purposes. Choose any one example to see the results. The models can be changed to see different results. ",
319
  examples=[
320
- ["https://www.cancer.news/2021-12-22-mrna-vaccines-weaken-immune-system-cause-cancer.html",
321
- 'sentence-transformers/all-mpnet-base-v1',
322
- 'sentence-transformers/paraphrase-MiniLM-L12-v2',
323
- 10,
324
- 'cambridgeltl/SapBERT-from-PubMedBERT-fulltext',
325
- 15,
326
- 'pritamdeka/S-Biomed-Roberta-snli-multinli-stsb'],
327
 
328
  ["https://www.cancer.news/2022-02-04-doctors-testifying-covid-vaccines-causing-cancer-aids.html#",
329
  'sentence-transformers/all-mpnet-base-v1',
 
317
  theme="peach", layout="horizontal",
318
  title="PubMed Abstract Retriever", description="Retrieves relevant PubMed abstracts for an online article which can be used as further references. The output is in the form of JSON with <b><i>Title</i></b> and <b><i>Abstract</i></b> as the fields of the JSON output. Please note that it may take sometime for the models to load. Examples are provided below for demo purposes. Choose any one example to see the results. The models can be changed to see different results. ",
319
  examples=[
320
+ #["https://www.cancer.news/2021-12-22-mrna-vaccines-weaken-immune-system-cause-cancer.html",
321
+ #'sentence-transformers/all-mpnet-base-v1',
322
+ #'sentence-transformers/paraphrase-MiniLM-L12-v2',
323
+ #10,
324
+ #'cambridgeltl/SapBERT-from-PubMedBERT-fulltext',
325
+ #15,
326
+ #'pritamdeka/S-Biomed-Roberta-snli-multinli-stsb'],
327
 
328
  ["https://www.cancer.news/2022-02-04-doctors-testifying-covid-vaccines-causing-cancer-aids.html#",
329
  'sentence-transformers/all-mpnet-base-v1',