Skip to content

Commit

Permalink
Change mindmap content input to text area
Browse files Browse the repository at this point in the history
Switched the input for the mindmap content from a one-line text input to a multi-line text area. This allows the user to input more complex and detailed information for the mindmap, providing a more flexible user interface.
  • Loading branch information
jamiesun committed Dec 11, 2023
1 parent 8fcebf5 commit 5e1040f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/04_✨智能思维导图.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def gen_mindmap(engine_name):
page_state.mindmap_file = output_path


prompt = st.text_input("输入思维导图内容提示语:", "Python 基础语法", key="ai_mindmap_prompt")
prompt = st.text_area("输入思维导图内容提示语:", "Python 基础语法", key="ai_mindmap_prompt", height=60)

if st.button("生成思维导图"):
with st.spinner("生成中..."):
Expand Down

0 comments on commit 5e1040f

Please sign in to comment.