mariavhrh commited on
Commit
127d45f
·
1 Parent(s): 6587fc0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -139,13 +139,12 @@ if query !="none":#line:86:if query!="salir":
139
  #st .text (count_words )#line:222:st.text(count_words)
140
  if not np .all (count_words ==0 ):#line:224:if not np.all(count_words==0):
141
  for indexin in indexmax :#line:226:for indexin in indexmax:
142
- df5=[]
143
  #st .text (indexin )#line:228:st.text(indexin)
144
  #st .text (count_words [indexin ])#line:229:st.text(count_words[indexin])
145
- df5.append(str(df .iloc [indexin ,2]))
146
- df5.append(str(df .iloc [indexin ,3 ]))
147
  st .text ("Si has preguntado...\n")#line:230:st.text("Si has preguntado...\n")
148
- st .text (df5[0])#line:231:st.text(df.iloc[indexin,2])
149
  st .text ("La respuesta es...\n")#line:232:st.text("La respuesta es...\n")
150
- st .text (df5[1])#line:233:st.text(df.iloc[indexin,3])
151
  print ("GRACIAS!")
 
139
  #st .text (count_words )#line:222:st.text(count_words)
140
  if not np .all (count_words ==0 ):#line:224:if not np.all(count_words==0):
141
  for indexin in indexmax :#line:226:for indexin in indexmax:
142
+
143
  #st .text (indexin )#line:228:st.text(indexin)
144
  #st .text (count_words [indexin ])#line:229:st.text(count_words[indexin])
145
+
 
146
  st .text ("Si has preguntado...\n")#line:230:st.text("Si has preguntado...\n")
147
+ st .text (df .iloc [indexin ,2])#line:231:st.text(df.iloc[indexin,2])
148
  st .text ("La respuesta es...\n")#line:232:st.text("La respuesta es...\n")
149
+ st .text (df .iloc [indexin ,3])#line:233:st.text(df.iloc[indexin,3])
150
  print ("GRACIAS!")