pritamdeka commited on
Commit
93fdb89
·
1 Parent(s): 6eca406

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -151,7 +151,7 @@ igen=gr.Interface(keyphrase_generator,
151
  default='sentence-transformers/all-distilroberta-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="text", theme="huggingface",
155
  title="Health Article Keyphrase Generator",
156
  description="Generates the keyphrases from an online health article which best describes the article.",
157
  article= "The work is based on a part of the paper provided <a href=https://dl.acm.org/doi/10.1145/3487664.3487701>here</a>."
 
151
  default='sentence-transformers/all-distilroberta-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",
155
  title="Health Article Keyphrase Generator",
156
  description="Generates the keyphrases from an online health article which best describes the article.",
157
  article= "The work is based on a part of the paper provided <a href=https://dl.acm.org/doi/10.1145/3487664.3487701>here</a>."