Skip to content

Commit 84cace3

Browse files
committed
use markdown format for file paths
1 parent 2be4ed3 commit 84cace3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ python flask4modelcache_demo.py
5555

5656
#### Normal Service Startup
5757
Before starting the service, the following environment configurations should be performed:
58-
1. Install the relational database MySQL and import the SQL file to create the data tables. The SQL file can be found at: reference_doc/create_table.sql
58+
1. Install the relational database MySQL and import the SQL file to create the data tables. The SQL file can be found at: ```reference_doc/create_table.sql```
5959
2. Install the vector database Milvus.
6060
3. Add the database access information to the configuration files:
61-
1. modelcache/config/milvus_config.ini
62-
2. modelcache/config/mysql_config.ini
61+
1. ```modelcache/config/milvus_config.ini ```
62+
2. ```modelcache/config/mysql_config.ini```
6363
4. Download the embedding model bin file from the following address: [https://huggingface.co/shibing624/text2vec-base-chinese/tree/main](https://huggingface.co/shibing624/text2vec-base-chinese/tree/main). Place the downloaded bin file in the model/text2vec-base-chinese folder.
6464
5. Start the backend service using the flask4modelcache.py script.
6565
## Service-Access

README_CN.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ python flask4modelcache_demo.py
5555

5656
#### 正常服务启动
5757
在启动服务前,应该进行如下环境配置:
58-
1. 安装关系数据库 mysql, 导入sql创建数据表,sql文件: reference_doc/create_table.sql
58+
1. 安装关系数据库 mysql, 导入sql创建数据表,sql文件:```reference_doc/create_table.sql```
5959
2. 安装向量数据库milvus
6060
3. 在配置文件中添加数据库访问信息,配置文件为:
61-
1. modelcache/config/milvus_config.ini
62-
2. modelcache/config/mysql_config.ini
61+
1. ```modelcache/config/milvus_config.ini```
62+
2. ```modelcache/config/mysql_config.ini```
6363
4. 离线模型bin文件下载, 参考地址:[https://huggingface.co/shibing624/text2vec-base-chinese/tree/main](https://huggingface.co/shibing624/text2vec-base-chinese/tree/main),并将下载的bin文件,放到 model/text2vec-base-chinese 文件夹中
6464
5. 通过flask4modelcache.py脚本启动后端服务。
6565
## 服务访问

0 commit comments

Comments
 (0)