mirror of
https://github.com/primedigitaltech/FileChat.git
synced 2026-01-19 13:03:19 +08:00
Update README
This commit is contained in:
parent
980408a1b7
commit
6167f5ea53
27
README.md
27
README.md
@ -5,27 +5,42 @@
|
||||
## 代码结构
|
||||
```
|
||||
.
|
||||
├── LICENSE
|
||||
├── README.md
|
||||
├── environment.yml
|
||||
└── file_chat.py
|
||||
├── LICENSE (Git仓库的开源许可证)
|
||||
├── README.md (本文档)
|
||||
├── environment.yml (Conda使用的环境需求文件)
|
||||
├── file_chat.py (文件对话Streamlit页面)
|
||||
└── requirements.txt (Pip使用的环境需求文件)
|
||||
```
|
||||
|
||||
## 环境配置
|
||||
## 环境配置-Conda版本
|
||||
|
||||
* Python虚拟环境,建议使用命令行安装[Miniconda](https://docs.anaconda.com/miniconda/#quick-command-line-install)
|
||||
* 安装Conda:建议使用命令行安装 [Miniconda](https://docs.anaconda.com/miniconda/#quick-command-line-install)
|
||||
|
||||
* 创建虚拟环境
|
||||
```
|
||||
conda env create -f environment.yml --name <虚拟环境名称>
|
||||
```
|
||||
|
||||
## 环境配置-Venv版本
|
||||
|
||||
* 安装Python:版本>=3.10, 参考各操作系统对应网上教程
|
||||
|
||||
* 创建虚拟环境
|
||||
```
|
||||
python3 -m venv venv
|
||||
```
|
||||
|
||||
## 启动
|
||||
|
||||
* 激活虚拟环境
|
||||
* Conda
|
||||
```
|
||||
conda activate <虚拟环境名称>
|
||||
```
|
||||
* Venv
|
||||
```
|
||||
source venv/bin/activate
|
||||
```
|
||||
|
||||
* 启动文件对话用户界面
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user