Spaces:
Runtime error
Runtime error
kevin
commited on
Commit
·
56996ee
1
Parent(s):
8210fda
tts
Browse files- app +1 -1
- docker-entrypoint.sh +1 -1
- how-to-use.md +6 -1
app
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 8646977
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b974829b9a425a3b86222eb758a4b91dd1126ec12e40851b12311e8dcb04ccb6
|
| 3 |
size 8646977
|
docker-entrypoint.sh
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
#!/bin/sh
|
| 2 |
echo "$TZ" > /etc/timezone
|
| 3 |
-
echo "启动程序中,打包时间
|
| 4 |
exec /run/app
|
|
|
|
| 1 |
#!/bin/sh
|
| 2 |
echo "$TZ" > /etc/timezone
|
| 3 |
+
echo "启动程序中,打包时间2025-01-08 17:57:31"
|
| 4 |
exec /run/app
|
how-to-use.md
CHANGED
|
@@ -4,4 +4,9 @@ curl -X POST http://192.168.1.102:8080/v1/audio/speech -o speech.mp3 \
|
|
| 4 |
-H "Authorization: Bearer sk-Zwei" \
|
| 5 |
-H "Content-Type: application/json" \
|
| 6 |
-d '{"input": "The quick brown fox jumped over the lazy dog.","model": "tts-1","voice": "zh-CN-XiaoxiaoNeural"}'
|
| 7 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
-H "Authorization: Bearer sk-Zwei" \
|
| 5 |
-H "Content-Type: application/json" \
|
| 6 |
-d '{"input": "The quick brown fox jumped over the lazy dog.","model": "tts-1","voice": "zh-CN-XiaoxiaoNeural"}'
|
| 7 |
+
```
|
| 8 |
+
|
| 9 |
+
curl -X POST https://tina0101-microsoft-tts.hf.space/api/v1/audio/speech -o speech1.mp3 \
|
| 10 |
+
-H "Authorization: Bearer sk-Zwei" \
|
| 11 |
+
-H "Content-Type: application/json" \
|
| 12 |
+
-d '{"input": "The quick brown fox jumped over the lazy dog.","model": "tts-1","voice": "zh-CN-XiaoxiaoNeural"}'
|