MatteoScript commited on
Commit
568675d
·
verified ·
1 Parent(s): a11501e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def init_state() :
40
  st.session_state.repetion_penalty = 1
41
 
42
  if "rag_enabled" not in st.session_state :
43
- st.session_state.rag_enabled = True
44
 
45
  if "chat_bot" not in st.session_state :
46
  st.session_state.chat_bot = "Mixtral 8x7B v0.1"
@@ -132,6 +132,7 @@ init_state()
132
  sidebar()
133
  header()
134
  chat_box()
 
135
 
136
  if prompt := st.chat_input("Chatta con BonsiAI..."):
137
  st.chat_message("user").markdown(prompt)
 
40
  st.session_state.repetion_penalty = 1
41
 
42
  if "rag_enabled" not in st.session_state :
43
+ st.session_state.rag_enabled = False
44
 
45
  if "chat_bot" not in st.session_state :
46
  st.session_state.chat_bot = "Mixtral 8x7B v0.1"
 
132
  sidebar()
133
  header()
134
  chat_box()
135
+ feedback_buttons()
136
 
137
  if prompt := st.chat_input("Chatta con BonsiAI..."):
138
  st.chat_message("user").markdown(prompt)