zencorn commited on
Commit
fc9a256
·
1 Parent(s): 3634d3e

comment code

Browse files
examples/agent_api_web_demo.py CHANGED
@@ -47,11 +47,11 @@ class StreamlitUI:
47
 
48
  def init_streamlit(self):
49
  """初始化 Streamlit 的 UI 设置。"""
50
- st.set_page_config(
51
- layout='wide',
52
- page_title='lagent-web',
53
- page_icon='./docs/imgs/lagent_icon.png'
54
- )
55
  st.header(':robot_face: :blue[Lagent] Web Demo ', divider='rainbow')
56
 
57
  def setup_sidebar(self):
 
47
 
48
  def init_streamlit(self):
49
  """初始化 Streamlit 的 UI 设置。"""
50
+ # st.set_page_config(
51
+ # layout='wide',
52
+ # page_title='lagent-web',
53
+ # page_icon='./docs/imgs/lagent_icon.png'
54
+ # )
55
  st.header(':robot_face: :blue[Lagent] Web Demo ', divider='rainbow')
56
 
57
  def setup_sidebar(self):
examples/multi_agents_api_web_demo.py CHANGED
@@ -150,7 +150,7 @@ def main():
150
  """
151
  主函数:构建Streamlit界面并处理用户交互
152
  """
153
- st.set_page_config(layout='wide', page_title='Lagent Web Demo', page_icon='🤖')
154
  st.title("多代理博客优化助手")
155
 
156
  model_type, api_base = setup_sidebar()
 
150
  """
151
  主函数:构建Streamlit界面并处理用户交互
152
  """
153
+ # st.set_page_config(layout='wide', page_title='Lagent Web Demo', page_icon='🤖')
154
  st.title("多代理博客优化助手")
155
 
156
  model_type, api_base = setup_sidebar()