Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
Qwen3-TTS_pytorch
Commits
b7b04c2c
Commit
b7b04c2c
authored
Mar 25, 2026
by
weishb
Browse files
删除旧运行脚本
parent
ce14b9ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
28 deletions
+0
-28
run_server.sh
run_server.sh
+0
-28
No files found.
run_server.sh
deleted
100644 → 0
View file @
ce14b9ba
#!/usr/bin/env bash
set
-euo
pipefail
SERVER
=
"
${
SERVER
:-
http
://127.0.0.1:8000
}
"
MODEL
=
"
${
MODEL
:-
qwen3
-tts
}
"
LANGUAGE
=
"
${
LANGUAGE
:-
Auto
}
"
curl
-sS
"
${
SERVER
}
/v1/audio/speech"
\
-H
"Content-Type: application/json"
\
-o
output.wav
\
-d
@-
<<
EOF
{
"model": "
${
MODEL
}
",
"text": "哥哥,你回来啦,人家等了你好久好久了,要抱抱!",
"task_type": "VoiceDesign",
"language": "
${
LANGUAGE
}
",
"instruct": "体现撒娇稚嫩的萝莉女声,音调偏高且起伏明显,营造出黏人、做作又刻意卖萌的听觉效果。",
"generation_params": {
"max_new_tokens": 4096,
"do_sample": true,
"top_k": 50,
"top_p": 1.0,
"temperature": 0.9
},
"response_format": "wav"
}
EOF
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment