Spaces:
Sleeping
Sleeping
Florian.Moret
commited on
Commit
·
b847856
1
Parent(s):
32660c3
remove sans context
Browse files
app.py
CHANGED
@@ -320,22 +320,22 @@ if st.button("Envoyer la question..."):
|
|
320 |
</div>
|
321 |
""", unsafe_allow_html=True)
|
322 |
|
323 |
-
#réponse sans contexte
|
324 |
-
response1 = prompt_pipeline(
|
325 |
-
user_prompt = user_input,
|
326 |
-
niveau_detail=choix_vulgarisation,
|
327 |
-
type_reponse=choix_prod,
|
328 |
-
souche=None,
|
329 |
-
context='',
|
330 |
-
annee_publication_max=max(choix_annee),
|
331 |
-
annee_publication_min=min(choix_annee)
|
332 |
-
)
|
333 |
-
st.subheader("Réponse sans contexte :")
|
334 |
-
st.markdown(f"""
|
335 |
-
<div style="border: 2px solid #453103; padding: 15px; border-radius: 10px;">
|
336 |
-
|
337 |
-
</div>
|
338 |
-
""", unsafe_allow_html=True)
|
339 |
|
340 |
#encadré sources
|
341 |
# # Afficher un titre
|
|
|
320 |
</div>
|
321 |
""", unsafe_allow_html=True)
|
322 |
|
323 |
+
# #réponse sans contexte
|
324 |
+
# response1 = prompt_pipeline(
|
325 |
+
# user_prompt = user_input,
|
326 |
+
# niveau_detail=choix_vulgarisation,
|
327 |
+
# type_reponse=choix_prod,
|
328 |
+
# souche=None,
|
329 |
+
# context='',
|
330 |
+
# annee_publication_max=max(choix_annee),
|
331 |
+
# annee_publication_min=min(choix_annee)
|
332 |
+
# )
|
333 |
+
# st.subheader("Réponse sans contexte :")
|
334 |
+
# st.markdown(f"""
|
335 |
+
# <div style="border: 2px solid #453103; padding: 15px; border-radius: 10px;">
|
336 |
+
# {response1['reponse_propre']}
|
337 |
+
# </div>
|
338 |
+
# """, unsafe_allow_html=True)
|
339 |
|
340 |
#encadré sources
|
341 |
# # Afficher un titre
|