Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -87,17 +87,17 @@ def find_query(query,sen,nouns):
|
|
87 |
if n[1] == "NN":
|
88 |
|
89 |
noun_list.append(n[0])
|
90 |
-
|
91 |
|
92 |
-
|
93 |
|
94 |
|
95 |
-
|
96 |
|
97 |
|
98 |
-
|
99 |
-
|
100 |
-
return
|
101 |
|
102 |
with gr.Blocks() as app:
|
103 |
inp = gr.Textbox(label="Paste Text",lines=10)
|
|
|
87 |
if n[1] == "NN":
|
88 |
|
89 |
noun_list.append(n[0])
|
90 |
+
# for nn in list(nouns.keys()):
|
91 |
|
92 |
+
# if nn in noun_list:
|
93 |
|
94 |
|
95 |
+
# noun_box[n[0]]
|
96 |
|
97 |
|
98 |
+
# print(ea)
|
99 |
+
# print(ea.split("/"))
|
100 |
+
return noun_list
|
101 |
|
102 |
with gr.Blocks() as app:
|
103 |
inp = gr.Textbox(label="Paste Text",lines=10)
|