Update app.py
Browse files
app.py
CHANGED
@@ -50,6 +50,7 @@ from scipy.sparse import (
|
|
50 |
vstack
|
51 |
)
|
52 |
from prompts import (
|
|
|
53 |
transform_query,
|
54 |
build_prompt_conv,
|
55 |
route_llm,
|
@@ -670,9 +671,6 @@ if __name__ == '__main__':
|
|
670 |
for message in st.session_state.messages:
|
671 |
with st.chat_message(message["role"]):
|
672 |
st.markdown(message["content"])
|
673 |
-
|
674 |
-
selected = pills("Label", ["Option 1", "Option 2", "Option 3"], ["π", "π", "π"])
|
675 |
-
st.write(selected)
|
676 |
|
677 |
if prompt := st.chat_input(
|
678 |
"Message Video Game Assistant",
|
@@ -710,6 +708,10 @@ if __name__ == '__main__':
|
|
710 |
packed_bytes = msgpack.packb(conversations, use_bin_type=True)
|
711 |
fp.write(packed_bytes)
|
712 |
|
|
|
|
|
|
|
|
|
713 |
if "cached_files" not in st.session_state:
|
714 |
st.session_state.cached_files = []
|
715 |
|
|
|
50 |
vstack
|
51 |
)
|
52 |
from prompts import (
|
53 |
+
outlines,
|
54 |
transform_query,
|
55 |
build_prompt_conv,
|
56 |
route_llm,
|
|
|
671 |
for message in st.session_state.messages:
|
672 |
with st.chat_message(message["role"]):
|
673 |
st.markdown(message["content"])
|
|
|
|
|
|
|
674 |
|
675 |
if prompt := st.chat_input(
|
676 |
"Message Video Game Assistant",
|
|
|
708 |
packed_bytes = msgpack.packb(conversations, use_bin_type=True)
|
709 |
fp.write(packed_bytes)
|
710 |
|
711 |
+
st.divider()
|
712 |
+
|
713 |
+
pills(" ", ["Option 1", "Option 2", "Option 3"], ["π", "π", "π"])
|
714 |
+
|
715 |
if "cached_files" not in st.session_state:
|
716 |
st.session_state.cached_files = []
|
717 |
|