pritamdeka
commited on
Commit
·
f2d5ec7
1
Parent(s):
93fdb89
Update app.py
Browse files
app.py
CHANGED
@@ -132,7 +132,7 @@ igen=gr.Interface(keyphrase_generator,
|
|
132 |
'sentence-transformers/nli-mpnet-base-v2',
|
133 |
'sentence-transformers/nli-distilroberta-base-v2'],
|
134 |
type="value",
|
135 |
-
default='
|
136 |
label="Select any model for TextRank from the list below"),
|
137 |
gr.inputs.Dropdown(choices=['sentence-transformers/paraphrase-mpnet-base-v2',
|
138 |
'sentence-transformers/paraphrase-distilroberta-base-v1',
|
@@ -148,7 +148,7 @@ igen=gr.Interface(keyphrase_generator,
|
|
148 |
'sentence-transformers/paraphrase-MiniLM-L3-v2',
|
149 |
'sentence-transformers/all-MiniLM-L6-v2'],
|
150 |
type="value",
|
151 |
-
default='sentence-transformers/
|
152 |
label="Select any model for keyphrases from the list below"),
|
153 |
gr.inputs.Slider(minimum=5, maximum=30, step=1, default=10, label="Max Keywords")],
|
154 |
outputs=gr.outputs.Textbox(type="auto", label="Output"), theme="peach",
|
|
|
132 |
'sentence-transformers/nli-mpnet-base-v2',
|
133 |
'sentence-transformers/nli-distilroberta-base-v2'],
|
134 |
type="value",
|
135 |
+
default='pritamdeka/S-Biomed-Roberta-snli-multinli-stsb',
|
136 |
label="Select any model for TextRank from the list below"),
|
137 |
gr.inputs.Dropdown(choices=['sentence-transformers/paraphrase-mpnet-base-v2',
|
138 |
'sentence-transformers/paraphrase-distilroberta-base-v1',
|
|
|
148 |
'sentence-transformers/paraphrase-MiniLM-L3-v2',
|
149 |
'sentence-transformers/all-MiniLM-L6-v2'],
|
150 |
type="value",
|
151 |
+
default='sentence-transformers/paraphrase-distilroberta-base-v1',
|
152 |
label="Select any model for keyphrases from the list below"),
|
153 |
gr.inputs.Slider(minimum=5, maximum=30, step=1, default=10, label="Max Keywords")],
|
154 |
outputs=gr.outputs.Textbox(type="auto", label="Output"), theme="peach",
|