blazingbunny
commited on
Commit
•
3117cb7
1
Parent(s):
addbb21
Update app.py
Browse files
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.
|
58 |
-
gr.
|
59 |
],
|
60 |
-
outputs=gr.
|
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 |
)
|