Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,14 +27,16 @@ def get_nouns(text):
|
|
27 |
for d in range(50):
|
28 |
if go:
|
29 |
#for i,ea in enumerate(key_list):
|
30 |
-
json_object[sen_list[cnt]]=f'{a}{cont_list[b]}{cont_list[c]}{cont_list[d]}'
|
31 |
-
|
|
|
|
|
32 |
#print ("Y")
|
33 |
a="Y"
|
34 |
b=0
|
35 |
c=0
|
36 |
d=0
|
37 |
-
if json_object[
|
38 |
#print("X")
|
39 |
a="X"
|
40 |
b=0
|
|
|
27 |
for d in range(50):
|
28 |
if go:
|
29 |
#for i,ea in enumerate(key_list):
|
30 |
+
#json_object[sen_list[cnt]]=f'{a}{cont_list[b]}{cont_list[c]}{cont_list[d]}'
|
31 |
+
f'{a}{cont_list[b]}{cont_list[c]}{cont_list[d]}'=json_object[sen_list[cnt]]
|
32 |
+
if json_object[f'{a}{cont_list[b]}{cont_list[c]}{cont_list[d]}']=='ZNNN':
|
33 |
+
#if json_object[sen_list[cnt]]=='ZNNN':
|
34 |
#print ("Y")
|
35 |
a="Y"
|
36 |
b=0
|
37 |
c=0
|
38 |
d=0
|
39 |
+
if json_object[f'{a}{cont_list[b]}{cont_list[c]}{cont_list[d]}']=='YNNN':
|
40 |
#print("X")
|
41 |
a="X"
|
42 |
b=0
|