Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -144,7 +144,7 @@ igen=gr.Interface(keyphrase_generator,
|
|
| 144 |
value='sentence-transformers/all-mpnet-base-v1',
|
| 145 |
label="Select any SBERT model for keyphrases from the list below"),
|
| 146 |
gr.components.Slider(minimum=5, maximum=30, step=1, value=10, label="Max Keywords")],
|
| 147 |
-
outputs=gr.components.Textbox(type="text", label="Output"), theme="peach",
|
| 148 |
title="Health Article Keyphrase Generator",
|
| 149 |
description="Generates the keyphrases from an online health article which best describes the article. Examples are provided below for demo purposes. Choose any one example to see the results. ",
|
| 150 |
examples=[
|
|
|
|
| 144 |
value='sentence-transformers/all-mpnet-base-v1',
|
| 145 |
label="Select any SBERT model for keyphrases from the list below"),
|
| 146 |
gr.components.Slider(minimum=5, maximum=30, step=1, value=10, label="Max Keywords")],
|
| 147 |
+
outputs=gr.components.Textbox(type="text", label="Output", lines=10), theme="peach",
|
| 148 |
title="Health Article Keyphrase Generator",
|
| 149 |
description="Generates the keyphrases from an online health article which best describes the article. Examples are provided below for demo purposes. Choose any one example to see the results. ",
|
| 150 |
examples=[
|