返回提交历史
Modified
gui/streamlit_app.py
+1
-1
XFEstudio/gpt4free
Fix Chinese garbled characters
a5035209
代码差异
1 个文件
+1
-1
@@ -38,7 +38,7 @@ st.header('GPT4free GUI')
38
38
question_text_area = st.text_area('🤖 Ask Any Question :', placeholder='Explain quantum computing in 50 words')
39
39
if st.button('🧠 Think'):
40
40
answer = get_answer(question_text_area)
41
escaped = answer.encode('utf-8').decode('unicode-escape')
41
escaped = answer.encode('utf-8').decode('utf-8')
42
42
# Display answer
43
43
st.caption("Answer :")
44
44
st.markdown(escaped)