Spaces:
Sleeping
Sleeping
evegarcianz
commited on
Commit
•
8723fba
1
Parent(s):
37edb0a
answerContexttest
Browse files
app.py
CHANGED
@@ -233,11 +233,11 @@ def greet(question,candidate):
|
|
233 |
|
234 |
|
235 |
#question=request.form['question']
|
236 |
-
|
237 |
|
238 |
|
239 |
|
240 |
-
return
|
241 |
|
242 |
|
243 |
|
|
|
233 |
|
234 |
|
235 |
#question=request.form['question']
|
236 |
+
contexto,respuesta=answer_query_with_context(pre,question,df_selected,context_embeddings_selected, show_prompt= True)
|
237 |
|
238 |
|
239 |
|
240 |
+
return respuesta, contexto
|
241 |
|
242 |
|
243 |
|