Spaces:
Sleeping
Sleeping
Demosthene-OR
commited on
Commit
•
51d107e
1
Parent(s):
338b634
Update chatbot_tab.py
Browse files- tabs/chatbot_tab.py +6 -1
tabs/chatbot_tab.py
CHANGED
@@ -439,7 +439,6 @@ def run():
|
|
439 |
with st.chat_message(message["role"]):
|
440 |
st.markdown(message["content"])
|
441 |
else:
|
442 |
-
st.write("")
|
443 |
st.write("**thread_id:** "+thread_id)
|
444 |
st.write("")
|
445 |
q1 = st.text_input(label="", value=tr("Combien le vendeur a-t-il posé de questions ouvertes ?"),label_visibility="collapsed")
|
@@ -450,6 +449,8 @@ def run():
|
|
450 |
custom_sentence = output["messages"][-1].content
|
451 |
st.write(custom_sentence)
|
452 |
st.write("")
|
|
|
|
|
453 |
|
454 |
st.divider()
|
455 |
st.write("")
|
@@ -461,6 +462,8 @@ def run():
|
|
461 |
custom_sentence = output["messages"][-1].content
|
462 |
st.write(custom_sentence)
|
463 |
st.write("")
|
|
|
|
|
464 |
|
465 |
st.divider()
|
466 |
st.write("")
|
@@ -472,6 +475,8 @@ def run():
|
|
472 |
custom_sentence = output["messages"][-1].content
|
473 |
st.write(custom_sentence)
|
474 |
st.write("")
|
|
|
|
|
475 |
|
476 |
st.divider()
|
477 |
st.write("")
|
|
|
439 |
with st.chat_message(message["role"]):
|
440 |
st.markdown(message["content"])
|
441 |
else:
|
|
|
442 |
st.write("**thread_id:** "+thread_id)
|
443 |
st.write("")
|
444 |
q1 = st.text_input(label="", value=tr("Combien le vendeur a-t-il posé de questions ouvertes ?"),label_visibility="collapsed")
|
|
|
449 |
custom_sentence = output["messages"][-1].content
|
450 |
st.write(custom_sentence)
|
451 |
st.write("")
|
452 |
+
if (used_model[:3] == 'mis'):
|
453 |
+
time.sleep(2)
|
454 |
|
455 |
st.divider()
|
456 |
st.write("")
|
|
|
462 |
custom_sentence = output["messages"][-1].content
|
463 |
st.write(custom_sentence)
|
464 |
st.write("")
|
465 |
+
if (used_model[:3] == 'mis'):
|
466 |
+
time.sleep(2)
|
467 |
|
468 |
st.divider()
|
469 |
st.write("")
|
|
|
475 |
custom_sentence = output["messages"][-1].content
|
476 |
st.write(custom_sentence)
|
477 |
st.write("")
|
478 |
+
if (used_model[:3] == 'mis'):
|
479 |
+
time.sleep(2)
|
480 |
|
481 |
st.divider()
|
482 |
st.write("")
|