Update app.py
Browse files
app.py
CHANGED
@@ -96,10 +96,10 @@ if 'history' not in st.session_state:
|
|
96 |
|
97 |
# Initialize messages
|
98 |
if 'generated' not in st.session_state:
|
99 |
-
st.session_state['generated'] = ["
|
100 |
|
101 |
if 'past' not in st.session_state:
|
102 |
-
st.session_state['past'] = ["
|
103 |
|
104 |
# Create containers for chat history and user input
|
105 |
response_container = st.container()
|
@@ -108,7 +108,7 @@ container = st.container()
|
|
108 |
# User input form
|
109 |
with container:
|
110 |
with st.form(key='my_form', clear_on_submit=True):
|
111 |
-
user_input = st.text_input("ChatBox", placeholder="
|
112 |
submit_button = st.form_submit_button(label='Send')
|
113 |
|
114 |
if submit_button and user_input:
|
|
|
96 |
|
97 |
# Initialize messages
|
98 |
if 'generated' not in st.session_state:
|
99 |
+
st.session_state['generated'] = ["γγγ«γ‘γ―οΌδ½γγζ’γγ§γγοΌ... π€"]
|
100 |
|
101 |
if 'past' not in st.session_state:
|
102 |
+
st.session_state['past'] = ["γγ£γγγ―γγγγ"]
|
103 |
|
104 |
# Create containers for chat history and user input
|
105 |
response_container = st.container()
|
|
|
108 |
# User input form
|
109 |
with container:
|
110 |
with st.form(key='my_form', clear_on_submit=True):
|
111 |
+
user_input = st.text_input("ChatBox", placeholder="θ³ͺεγγθ¨ε
₯γγ γγ... ", key='input')
|
112 |
submit_button = st.form_submit_button(label='Send')
|
113 |
|
114 |
if submit_button and user_input:
|