Spaces:
Running
Running
; as example splitter
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ async def launch_bot():
|
|
62 |
cfg = get_agent_config()
|
63 |
st.session_state.cfg = cfg
|
64 |
st.session_state.ex_prompt = None
|
65 |
-
example_messages = [example.strip() for example in cfg.examples.split("
|
66 |
st.session_state.example_messages = [em for em in example_messages if len(em)>0]
|
67 |
reset()
|
68 |
|
|
|
62 |
cfg = get_agent_config()
|
63 |
st.session_state.cfg = cfg
|
64 |
st.session_state.ex_prompt = None
|
65 |
+
example_messages = [example.strip() for example in cfg.examples.split(";")] if cfg.examples else []
|
66 |
st.session_state.example_messages = [em for em in example_messages if len(em)>0]
|
67 |
reset()
|
68 |
|