Skip to content

Commit

Permalink
修正README.md中的小错误
Browse files Browse the repository at this point in the history
  • Loading branch information
fluxlinkage authored Aug 9, 2023
1 parent e247f9b commit b8d6e9d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## 二进制安装
1. 在release中下载和你的Qt Creator版本完全一致的插件(看运气)。
2. 关闭Qt Creator。
3. 复制或者移动到Qt Creator的插件目录(大致是一个QtCreator/lib/qtcreator/plugins路径)。
3. 解压缩,将其中的dll(Windows)或者so(Linux)文件复制或者移动到Qt Creator的插件目录(大致是一个QtCreator/lib/qtcreator/plugins路径)。
4. 打开Qt Creator。
## 编译源代码安装
### 需求
Expand All @@ -17,9 +17,10 @@ Qt Creator建议11.0及以上版本。Qt开发环境的版本需要与Qt Creator
### 步骤
以Linux为例,假设Qt和Qt Creator分别位于/opt/Qt/6.4.3/gcc_64、/opt/Qt/Tools/QtCreator目录。
1. mkdir build
2. cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/opt/Qt/6.4.3/gcc_64;/opt/Qt/Tools/QtCreator" -DCMAKE_INSTALL_PREFIX=/opt/Qt/Tools/QtCreator
3. make
4. sudo make install
2. cd build
3. cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/opt/Qt/6.4.3/gcc_64;/opt/Qt/Tools/QtCreator" -DCMAKE_INSTALL_PREFIX=/opt/Qt/Tools/QtCreator
4. make
5. sudo make install
# 使用
首先部署好[CodeGeeX2-6B](https://github.com/THUDM/CodeGeeX2)模型。
启动CodeGeeX2-6B的Gradio DEMO(基本命令是python ./demo/run_demo.py,具体说明详见CodeGeeX2-6B模型的文档[启动 Gradio DEMO](https://github.com/THUDM/CodeGeeX2#%E5%90%AF%E5%8A%A8-gradio-demo)部分)。
Expand Down

0 comments on commit b8d6e9d

Please sign in to comment.