You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,12 +40,18 @@ The project's startup scripts are divided into flask4modelcache.py and flask4mod
40
40
- Python version: 3.8 and above
41
41
- Package Installation
42
42
```shell
43
-
pip install requirements.txt
43
+
pip install -r requirements.txt
44
44
```
45
45
### Service Startup
46
46
#### Demo Service Startup
47
47
1. 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.
48
48
2. Start the backend service using the flask4modelcache_dome.py script.
49
+
```shell
50
+
cd CodeFuse-ModelCache
51
+
```
52
+
```shell
53
+
python flask4modelcache_demo.py
54
+
```
49
55
50
56
#### Normal Service Startup
51
57
Before starting the service, the following environment configurations should be performed:
0 commit comments