update requirements.txt
This commit is contained in:
parent
329c24ee73
commit
82aa805bf3
|
|
@ -19,3 +19,4 @@ unstructured[local-inference]
|
||||||
streamlit>=1.25.0
|
streamlit>=1.25.0
|
||||||
streamlit-option-menu
|
streamlit-option-menu
|
||||||
streamlit-chatbox>=1.1.0
|
streamlit-chatbox>=1.1.0
|
||||||
|
httpx
|
||||||
|
|
|
||||||
22
webui.py
22
webui.py
|
|
@ -14,6 +14,28 @@ api = ApiRequest()
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
st.set_page_config("langchain-chatglm WebUI", layout="wide")
|
st.set_page_config("langchain-chatglm WebUI", layout="wide")
|
||||||
|
|
||||||
|
# pages = {"对话1": {"icon": "chat",
|
||||||
|
# "func": dialogue_page,
|
||||||
|
# },
|
||||||
|
# "对话2": {"icon": "chat",
|
||||||
|
# "func": dialogue_page,
|
||||||
|
# },
|
||||||
|
# "对话3": {"icon": "chat",
|
||||||
|
# "func": dialogue_page,
|
||||||
|
# },
|
||||||
|
# "新建对话": {"icon": "plus-circle",
|
||||||
|
# "func": dialogue_page,
|
||||||
|
# },
|
||||||
|
# "---": {"icon": None,
|
||||||
|
# "func": None},
|
||||||
|
# "知识库管理": {"icon": "database-fill-gear",
|
||||||
|
# "func": knowledge_base_page,
|
||||||
|
# },
|
||||||
|
# "模型配置": {"icon": "gear",
|
||||||
|
# "func": model_config_page,
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
|
||||||
pages = {"对话": {"icon": "chat",
|
pages = {"对话": {"icon": "chat",
|
||||||
"func": dialogue_page,
|
"func": dialogue_page,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue