blazingbunny commited on
Commit
3117cb7
1 Parent(s): addbb21

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -54,10 +54,10 @@ def process_inputs(text, input_list):
54
  iface = gr.Interface(
55
  fn=process_inputs,
56
  inputs=[
57
- gr.inputs.Textbox(lines=10, placeholder="Enter your text here..."),
58
- gr.inputs.JSON(label="Input List", placeholder='{"Nouns": ["word1", "word2"], "Verbs": ["word1", "word2"]}')
59
  ],
60
- outputs=gr.outputs.JSON(),
61
  title="Noun and Verb Identifier with Similarity Check",
62
  description="Enter a document or text to identify the nouns and verbs, and check for similarities with a given list of words."
63
  )
 
54
  iface = gr.Interface(
55
  fn=process_inputs,
56
  inputs=[
57
+ gr.Textbox(lines=10, placeholder="Enter your text here..."),
58
+ gr.JSON(label="Input List", placeholder='{"Nouns": ["word1", "word2"], "Verbs": ["word1", "word2"]}')
59
  ],
60
+ outputs=gr.JSON(),
61
  title="Noun and Verb Identifier with Similarity Check",
62
  description="Enter a document or text to identify the nouns and verbs, and check for similarities with a given list of words."
63
  )