Spaces:
Sleeping
Sleeping
update to vectara-agentic 0.1.8 and minor updates
Browse files- app.py +1 -1
- requirements.txt +1 -1
app.py
CHANGED
@@ -58,7 +58,7 @@ async def launch_bot():
|
|
58 |
st.session_state.student_age = cfg.student_age
|
59 |
st.session_state.cfg = cfg
|
60 |
st.session_state.ex_prompt = None
|
61 |
-
example_messages = [example.strip() for example in cfg.examples.split("
|
62 |
st.session_state.example_messages = [em for em in example_messages if len(em)>0]
|
63 |
reset()
|
64 |
|
|
|
58 |
st.session_state.student_age = cfg.student_age
|
59 |
st.session_state.cfg = cfg
|
60 |
st.session_state.ex_prompt = None
|
61 |
+
example_messages = [example.strip() for example in cfg.examples.split(";")] if cfg.examples else []
|
62 |
st.session_state.example_messages = [em for em in example_messages if len(em)>0]
|
63 |
reset()
|
64 |
|
requirements.txt
CHANGED
@@ -6,4 +6,4 @@ streamlit_feedback==0.1.3
|
|
6 |
uuid==1.30
|
7 |
langdetect==1.0.9
|
8 |
langcodes==3.4.0
|
9 |
-
vectara-agentic==0.1.
|
|
|
6 |
uuid==1.30
|
7 |
langdetect==1.0.9
|
8 |
langcodes==3.4.0
|
9 |
+
vectara-agentic==0.1.8
|