update config
Browse files
README.md
CHANGED
@@ -34,11 +34,10 @@ processor = AutoProcessor.from_pretrained("fnlp/MOSS-TTSD-v0.5", codec_path="fnl
|
|
34 |
model = AutoModel.from_pretrained("fnlp/MOSS-TTSD-v0.5", trust_remote_code=True, device_map="auto").eval()
|
35 |
|
36 |
data = [{
|
37 |
-
"base_path": "/path/to/
|
38 |
-
"text": "
|
39 |
-
"
|
40 |
-
"prompt_text": "
|
41 |
-
"prompt_audio": "prompt.wav",
|
42 |
}]
|
43 |
|
44 |
inputs = processor(data)
|
|
|
34 |
model = AutoModel.from_pretrained("fnlp/MOSS-TTSD-v0.5", trust_remote_code=True, device_map="auto").eval()
|
35 |
|
36 |
data = [{
|
37 |
+
"base_path": "/path/to/audio/files",
|
38 |
+
"text": "[S1]Speaker 1 dialogue content[S2]Speaker 2 dialogue content[S1]...",
|
39 |
+
"prompt_audio": "path/to/shared_reference_audio.wav",
|
40 |
+
"prompt_text": "[S1]Reference text for speaker 1[S2]Reference text for speaker 2"
|
|
|
41 |
}]
|
42 |
|
43 |
inputs = processor(data)
|