Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -132,6 +132,29 @@ if query !="none":#line:86:if query!="salir":
|
|
132 |
resulted ="9"#line:206:resulted="9"
|
133 |
if str (resulted )=="cero":#line:208:if str(resulted)=="cero":
|
134 |
resulted ="0"#line:209:resulted="0"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
if str (remove_accents (word )).lower ()==str (remove_accents (resulted )).lower ():#line:213:if str(remove_accents(word)).lower() == str(remove_accents(resulted)).lower():
|
136 |
count_words [index1 ]=count_words [index1 ]+1 #line:216:count_words[index1]=count_words[index1]+1
|
137 |
ls5 [index1 ].pop (index2 )#line:217:ls5[index1].pop(index2)
|
|
|
132 |
resulted ="9"#line:206:resulted="9"
|
133 |
if str (resulted )=="cero":#line:208:if str(resulted)=="cero":
|
134 |
resulted ="0"#line:209:resulted="0"
|
135 |
+
if str(resulted)=="veintiuno":
|
136 |
+
resulted="21"
|
137 |
+
if str(resulted)=="veinte":
|
138 |
+
resulted="20"
|
139 |
+
if str(resulted)=="veintidos"or str(resulted)=="veintido" :
|
140 |
+
resulted="22"
|
141 |
+
if str(resulted)=="veintitres" or str(resulted)=="veintitre" :
|
142 |
+
resulted="23"
|
143 |
+
if str(resulted)=="veinticuatro":
|
144 |
+
resulted="24"
|
145 |
+
if str(resulted)=="veinticinco":
|
146 |
+
resulted="25"
|
147 |
+
if str(resulted)=="veintiseis"or str(resulted)=="veintisei" :
|
148 |
+
resulted="26"
|
149 |
+
if str(resulted)=="veintisiete":
|
150 |
+
resulted="27"
|
151 |
+
if str(resulted)=="veintiocho":
|
152 |
+
resulted="28"
|
153 |
+
if str(resulted)=="veintinueve":
|
154 |
+
resulted="29"
|
155 |
+
if str(resulted)=="treinta":
|
156 |
+
resulted="30"
|
157 |
+
|
158 |
if str (remove_accents (word )).lower ()==str (remove_accents (resulted )).lower ():#line:213:if str(remove_accents(word)).lower() == str(remove_accents(resulted)).lower():
|
159 |
count_words [index1 ]=count_words [index1 ]+1 #line:216:count_words[index1]=count_words[index1]+1
|
160 |
ls5 [index1 ].pop (index2 )#line:217:ls5[index1].pop(index2)
|