Skip to content

Commit cbe0e8b

Browse files
authored
Merge pull request #4 from YuChenSSR/main
Update the README file, add solutions for Mac users
2 parents 00d3af1 + 9e27b20 commit cbe0e8b

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,20 @@ docker pull dbcccc/ttsfm:latest
2222
docker run -p 7000:7000 dbcccc/ttsfm:latest
2323
```
2424

25+
Note:
26+
For Apple macOS, if port 7000 is occupied by the Control Center, you can use an alternative local port like 5051:
27+
For Intel chips:
28+
```bash
29+
docker pull dbcccc/ttsfm:latest
30+
docker run -p 5051:7000 dbcccc/ttsfm:latest
31+
```
32+
For Apple Silicon (M-series) chips, in the repository's current directory:
33+
```bash
34+
docker build -t ttsfm .
35+
docker run -p 5051:7000 ttsfm
36+
```
37+
For Mac, access the web interface at `http://localhost:5051`.
38+
2539
#### Option 2: Manual Installation
2640
1. Clone the repository:
2741
```bash
@@ -89,4 +103,4 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
89103

90104
## Star History
91105

92-
[![Star History Chart](https://api.star-history.com/svg?repos=dbccccccc/ttsfm&type=Date)](https://www.star-history.com/#dbccccccc/ttsfm&Date)
106+
[![Star History Chart](https://api.star-history.com/svg?repos=dbccccccc/ttsfm&type=Date)](https://www.star-history.com/#dbccccccc/ttsfm&Date)

README_CN.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,19 @@ TTSFM 是一个逆向工程的 API 服务器,镜像了 OpenAI 的 TTS 服务
2121
docker pull dbcccc/ttsfm:latest
2222
docker run -p 7000:7000 dbcccc/ttsfm:latest
2323
```
24+
注:
25+
如果是Apple Mac OS,7000端口若被中心控制器占用,可以换一个本地端口比如5051,可以使用以下命令:
26+
Intel 芯片可以直接使用
27+
```bash
28+
docker pull dbcccc/ttsfm:latest
29+
docker run -p 5051:7000 dbcccc/ttsfm:latest
30+
```
31+
M系列芯片可以在仓库当前目录使用:
32+
```bash
33+
docker build -t ttsfm .
34+
docker run -p 5051:7000 ttsfm
35+
```
36+
Mac 网页地址使用 `http://localhost:5051`.
2437

2538
#### 选项二:手动安装
2639
1. 克隆仓库:
@@ -89,4 +102,4 @@ python pressure_test.py -u http://localhost:7000
89102

90103
## Star History
91104

92-
[![Star History Chart](https://api.star-history.com/svg?repos=dbccccccc/ttsfm&type=Date)](https://www.star-history.com/#dbccccccc/ttsfm&Date)
105+
[![Star History Chart](https://api.star-history.com/svg?repos=dbccccccc/ttsfm&type=Date)](https://www.star-history.com/#dbccccccc/ttsfm&Date)

0 commit comments

Comments
 (0)