pritamdeka
commited on
Commit
β’
2d8275e
1
Parent(s):
c98c7fd
Update app.py
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ def keyphrase_generator(article_link, model_1, model_2, max_num_keywords):
|
|
110 |
return keywords
|
111 |
|
112 |
igen=gr.Interface(keyphrase_generator,
|
113 |
-
inputs=[gr.components.Textbox(lines=1, placeholder="Provide an online health article web link here",
|
114 |
gr.components.Dropdown(choices=['sentence-transformers/all-mpnet-base-v2',
|
115 |
'sentence-transformers/all-mpnet-base-v1',
|
116 |
'sentence-transformers/all-distilroberta-v1',
|
|
|
110 |
return keywords
|
111 |
|
112 |
igen=gr.Interface(keyphrase_generator,
|
113 |
+
inputs=[gr.components.Textbox(lines=1, placeholder="Provide an online health article web link here",value="", label="Article web link"),
|
114 |
gr.components.Dropdown(choices=['sentence-transformers/all-mpnet-base-v2',
|
115 |
'sentence-transformers/all-mpnet-base-v1',
|
116 |
'sentence-transformers/all-distilroberta-v1',
|