Skip to content

Commit

Permalink
Merge pull request #17 from csunny/dev
Browse files Browse the repository at this point in the history
update requirements
  • Loading branch information
csunny authored May 7, 2023
2 parents 23b9f6e + e3d7223 commit f662706
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,26 @@ Run on an RTX 4090 GPU (The origin mov not sped up!, [YouTube地址](https://www

<img src="https://github.com/csunny/DB-GPT/blob/main/asserts/DB_QA.png" margin-left="auto" margin-right="auto" width="600">

# Dependencies
1. First you need to install python requirements.
```
python>=3.9
pip install -r requirements
```
or if you use conda envirenment, you can use this command
```
cd DB-GPT
conda env create -f environment.yml
```

2. MySQL Install

In this project examples, we connect mysql and run SQL-Generate. so you need install mysql local for test. recommand docker
```
docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=aa123456 -dit mysql:latest
```
The password just for test, you can change this if necessary

# Install
1. 基础模型下载
关于基础模型, 可以根据[vicuna](https://github.com/lm-sys/FastChat/blob/main/README.md#model-weights)合成教程进行合成。
Expand Down
4 changes: 4 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,7 @@ dependencies:
- gradio-client==0.0.8
- wandb
- fschat=0.1.10
- llama-index=0.5.27
- pymysql
- unstructured==0.6.3
- pytesseract==0.3.10
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,6 @@ gradio-client==0.0.8
wandb
fschat=0.1.10
llama-index=0.5.27
pymysql
pymysql
unstructured==0.6.3
pytesseract==0.3.10

0 comments on commit f662706

Please sign in to comment.