优化UI模块和资源推荐功能

Made-with: Cursor
This commit is contained in:
刘国栋
2026-04-30 23:35:06 +08:00
parent fb309299bf
commit 86abeeb5cc
14 changed files with 737 additions and 513 deletions
+2 -1
View File
@@ -58,7 +58,8 @@ def render_tab_workflow(
st.rerun()
with col3:
if st.button("▶️ 执行", key=f"run_{workflow['id']}", use_container_width=True):
if st.button("▶️ 执行", key=f"run_{workflow['id']}", use_container_width=True,
disabled=gen_llm is None):
# 创建回调函数
def generate_keywords_callback(num_keywords, generation_mode, brand, advantages):
"""关键词生成回调函数"""