pouchedfox commited on
Commit
6fe6b89
·
1 Parent(s): cbaa0ac
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def greet(text, ngram_min, ngram_max, top_n, diversity, seed_keywords):
22
  demo = gr.Interface(
23
  fn=greet,
24
  inputs=[gr.Textbox(placeholder="Put the text here and click 'submit' to get the keyphrases", label="Input Text"), gr.Slider(1, 5, step = 1, label="Minimum number of words in a keyphrase"), gr.Slider(1, 5, step = 1, label="Maximum number of words in a keyphrase"),
25
- gr.Slider(1, 10, step = 1, label="Number of returned keyphrases"), gr.Slider(0, 1, step = 0.05, label="Diversity of the returned keyphrases"),
26
  gr.Textbox(placeholder='This field can be empty', label="Seed Keyword:\nguide the extraction by steering the similarities towards it.")],
27
  outputs=[gr.Textbox(label='Extracted Keyphrases')],
28
  )
 
22
  demo = gr.Interface(
23
  fn=greet,
24
  inputs=[gr.Textbox(placeholder="Put the text here and click 'submit' to get the keyphrases", label="Input Text"), gr.Slider(1, 5, step = 1, label="Minimum number of words in a keyphrase"), gr.Slider(1, 5, step = 1, label="Maximum number of words in a keyphrase"),
25
+ gr.Slider(1, 10, step = 1, label="Number of keyphrases"), gr.Slider(0, 1, step = 0.05, label="Diversity of the returned keyphrases"),
26
  gr.Textbox(placeholder='This field can be empty', label="Seed Keyword:\nguide the extraction by steering the similarities towards it.")],
27
  outputs=[gr.Textbox(label='Extracted Keyphrases')],
28
  )