Spaces:
Sleeping
Sleeping
Update pages/1_Chatbot_FR.py
Browse files- pages/1_Chatbot_FR.py +1 -1
pages/1_Chatbot_FR.py
CHANGED
@@ -289,7 +289,7 @@ def main():
|
|
289 |
|
290 |
if context_fr_list:
|
291 |
with st.spinner("Génération de la réponse..."):
|
292 |
-
response_fr = llm_chain_fr.run({"context": "\n".join(context_fr_list), "query": user_query_fr})
|
293 |
# Séparer si jamais le prompt contient [RÉPONSE], sinon on affiche tout
|
294 |
response_fr = response_fr.split("[RÉPONSE]")[-1]
|
295 |
st.write("**Question :**")
|
|
|
289 |
|
290 |
if context_fr_list:
|
291 |
with st.spinner("Génération de la réponse..."):
|
292 |
+
response_fr = llm_chain_fr.run({"context": "\n".join(context_fr_list), "query": user_query_fr + "?"})
|
293 |
# Séparer si jamais le prompt contient [RÉPONSE], sinon on affiche tout
|
294 |
response_fr = response_fr.split("[RÉPONSE]")[-1]
|
295 |
st.write("**Question :**")
|