pmelnechuk commited on
Commit
04989bd
·
verified ·
1 Parent(s): 56e8868

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -126,7 +126,7 @@ if __name__=="__main__":
126
  if st.button("Resolver pregunta"):
127
  if user_input: # Accedemos al valor ingresado
128
  # Simular respuesta
129
- mock_answer = ask(user_input, retriever)
130
 
131
  # Agregar al historial
132
  st.session_state.history.insert(0, (user_input, mock_answer))
 
126
  if st.button("Resolver pregunta"):
127
  if user_input: # Accedemos al valor ingresado
128
  # Simular respuesta
129
+ mock_answer = src.model_load.ask(user_input, retriever)
130
 
131
  # Agregar al historial
132
  st.session_state.history.insert(0, (user_input, mock_answer))