sperfu commited on
Commit
9b9dceb
·
verified ·
1 Parent(s): 0219db5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -6
README.md CHANGED
@@ -26,22 +26,23 @@
26
 
27
  ## Web DEMO
28
 
29
- 安装网页Demo所需依赖
30
 
31
  ```bash
32
  pip install streamlit==1.24.0
33
  ```
34
 
35
- 下载[GouMang](https://huggingface.co/AI4Bread/GouMang)项目模型(欢迎Star
36
 
37
 
38
- `web_demo.py` 中的模型路径更换为下载存放参数的路径 `GouMang`
39
 
40
- 运行目录下的 `web_demo.py` 文件,输入以下命令后,[**查看本教程5.2配置本地端口后**](https://github.com/InternLM/tutorial/blob/main/helloworld/hello_world.md#52-%E9%85%8D%E7%BD%AE%E6%9C%AC%E5%9C%B0%E7%AB%AF%E5%8F%A3),将端口映射到本地。在本地浏览器输入 `http://127.0.0.1:6006` 即可。
41
 
42
  ```
43
  streamlit run /root/personal_assistant/code/InternLM/web_demo.py --server.address 127.0.0.1 --server.port 6006
44
  ```
45
 
46
- 注意:要在浏览器打开 `http://127.0.0.1:6006` 页面后,模型才会加载。
47
- 在加载完模型之后,就可以与 GouMang 进行对话了
 
 
26
 
27
  ## Web DEMO
28
 
29
+ Install the dependencies required for the web demo
30
 
31
  ```bash
32
  pip install streamlit==1.24.0
33
  ```
34
 
35
+ Download the [GouMang](https://huggingface.co/AI4Bread/GouMang) project model (please Star if you like it)
36
 
37
 
38
+ Replace the model path in `web_demo.py` with the path where the downloaded parameters of `GouMang` are stored
39
 
40
+ Run the `web_demo.py` file in the directory, and after entering the following command, [**check this tutorial 5.2 for local port configuration**](https://github.com/InternLM/tutorial/blob/main/helloworld/hello_world.md#52-%E9%85%8D%E7%BD%AE%E6%9C%AC%E5%9C%B0%E7%AB%AF%E5%8F%A3),to map the port to your local machine. Enter `http://127.0.0.1:6006` in your local browser.
41
 
42
  ```
43
  streamlit run /root/personal_assistant/code/InternLM/web_demo.py --server.address 127.0.0.1 --server.port 6006
44
  ```
45
 
46
+ Note: The model will load only after you open the `http://127.0.0.1:6006` page in your browser.
47
+ Once the model is loaded, you can start conversing with GouMang.
48
+