update requirements.txt

This commit is contained in:
imClumsyPanda 2023-08-03 23:42:55 +08:00
parent 329c24ee73
commit 82aa805bf3
2 changed files with 23 additions and 0 deletions

View File

@ -19,3 +19,4 @@ unstructured[local-inference]
streamlit>=1.25.0
streamlit-option-menu
streamlit-chatbox>=1.1.0
httpx

View File

@ -14,6 +14,28 @@ api = ApiRequest()
if __name__ == "__main__":
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",
"func": dialogue_page,
},