Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
@@ -198,7 +198,7 @@ if 'past' not in st.session_state:
|
|
198 |
st.session_state['past'] = []
|
199 |
user_input=st.text_input("请输入您的问题:",key='input')
|
200 |
if user_input:
|
201 |
-
text.clear
|
202 |
output=getanswerByXunFei(user_input)
|
203 |
st.session_state['past'].append(user_input)
|
204 |
st.session_state['generated'].append(output)
|
|
|
198 |
st.session_state['past'] = []
|
199 |
user_input=st.text_input("请输入您的问题:",key='input')
|
200 |
if user_input:
|
201 |
+
text.clear()
|
202 |
output=getanswerByXunFei(user_input)
|
203 |
st.session_state['past'].append(user_input)
|
204 |
st.session_state['generated'].append(output)
|