feat: add xinference host description (#10)

pull/11/head
takatost 2023-08-24 14:49:22 +08:00 committed by GitHub
parent c7a4ccb5e0
commit dc730576fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,7 @@ There are two ways to deploy Xinference, namely [local deployment](https://githu
```
Xinference will start a worker locally by default, with the endpoint: `http://127.0.0.1:9997`, and the default port is `9997`.
By default, access is limited to the local machine only, but it can be configured with `-H 0.0.0.0` to allow access from any non-local client.
To modify the host or port, you can refer to xinference's help information: `xinference --help`.
3. Create and deploy the model

View File

@ -23,7 +23,8 @@ Dify 支持以本地部署的方式接入 Xinference 部署的大型语言模型
```
Xinference 默认会在本地启动一个 worker端点为`http://127.0.0.1:9997`,端口默认为 `9997`
如需修改 host 或 port可查看 xinference 的帮助信息:`xinference --help`。
默认只可本机访问,可配置 `-H 0.0.0.0`,非本地客户端可任意访问。
如需进一步修改 host 或 port可查看 xinference 的帮助信息:`xinference --help`。
3. 创建并部署模型