pritamdeka commited on
Commit
4b5c859
Β·
1 Parent(s): aec5e3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -305,8 +305,8 @@ igen_pubmed = gr.Interface(keyphrase_generator,
305
  type="value",
306
  default='pritamdeka/S-Biomed-Roberta-snli-multinli-stsb',
307
  label="Select any SBERT model for abstracts from the list below")],
308
- outputs=gr.outputs.Dataframe(type="auto", label="Retrieved Results from PubMed",max_cols=None, overflow_row_behaviour="paginate"),
309
- theme="peach",
310
  title="PubMed Abstract Retriever", description="Retrieves relevant PubMed abstracts for an online article which can be used as further references. 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. ",
311
  examples=[
312
  ["https://www.cancer.news/2021-12-22-mrna-vaccines-weaken-immune-system-cause-cancer.html",
 
305
  type="value",
306
  default='pritamdeka/S-Biomed-Roberta-snli-multinli-stsb',
307
  label="Select any SBERT model for abstracts from the list below")],
308
+ outputs=gr.outputs.Dataframe(type="auto", label="Retrieved Results from PubMed",max_cols=2, overflow_row_behaviour="paginate"),
309
+ theme="peach", layout="horizontal",
310
  title="PubMed Abstract Retriever", description="Retrieves relevant PubMed abstracts for an online article which can be used as further references. 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. ",
311
  examples=[
312
  ["https://www.cancer.news/2021-12-22-mrna-vaccines-weaken-immune-system-cause-cancer.html",