vsouza commited on
Commit ·
0165aee
1
Parent(s): a6a7eef
update text_input
Browse files
app.py
CHANGED
|
@@ -27,8 +27,8 @@ st.title(":speech_balloon: Assistant API Chat")
|
|
| 27 |
with st.sidebar:
|
| 28 |
st.caption(f"**Session ID**: \n {st.session_state.session_id}")
|
| 29 |
st.header("Configuration")
|
| 30 |
-
thread_id = st.
|
| 31 |
-
|
| 32 |
c1, c2 = st.columns(2)
|
| 33 |
|
| 34 |
if c1.button("Start Chat", use_container_width=True):
|
|
|
|
| 27 |
with st.sidebar:
|
| 28 |
st.caption(f"**Session ID**: \n {st.session_state.session_id}")
|
| 29 |
st.header("Configuration")
|
| 30 |
+
thread_id = st.text_input("Enter your Thread ID:",
|
| 31 |
+
placeholder="Leave empty to start a new thread")
|
| 32 |
c1, c2 = st.columns(2)
|
| 33 |
|
| 34 |
if c1.button("Start Chat", use_container_width=True):
|