Zuletzt geändert von René Schmidt am 2025/03/26 14:55

<
Von Version < 2.3 >
bearbeitet von René Schmidt
am 2025/03/10 18:06
Auf Version < 2.6 >
bearbeitet von René Schmidt
am 2025/03/10 19:43
>
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -1,13 +1,9 @@
1 -conda create -nopenvoice python=3.9
1 +conda create -n openvoice python=3.9
2 2  conda activate openvoice
3 3  
4 4  
5 -git clone https:~/~/github.com/myshell-ai/openVoice.git
5 +git clone [[https:~~/~~/github.com/myshell-ai/openVoice.git>>https://github.com/myshell-ai/openVoice.git]]
6 6  
7 -
8 -
9 -
10 -
11 11   cd openVoice
12 12   pip install -e .
13 13   mkdir checkpoints_v2
... ... @@ -17,7 +17,7 @@
17 17  unzip checkpoints_v2_0417.zip
18 18  
19 19  
20 -mv checkpoints_v2 ~~/openVoice
16 +mv checkpoints_v2 ~~/OpenVoice
21 21  
22 22  
23 23  
... ... @@ -50,7 +50,7 @@
50 50  
51 51  output_dir = 'outputs_v2'
52 52  
53 -tone_color_converter = ToneColorCOnverter(f' {ckpt_converter} /config.json', device=device)
49 +tone_color_converter = ToneColorConverter(f' {ckpt_converter} /config.json', device=device)
54 54  
55 55  tone_color_converter.load_ckpt(f' {ckpt_converter} /checkpoint.pth')
56 56  
... ... @@ -58,4 +58,15 @@
58 58  
59 59  reference_speaker = 'resources/example_reference.mp3'
60 60  
57 +target_se, audio_name = se_extractor.get_se(reference_speaker, tone_color_converter, vad=False)
58 +
59 +from melo.api import TTS
60 +
61 +src_path = f' {output_dir} /tmp.wav'
62 +
63 +speed = 1.0
64 +
65 +
66 +
67 +
61 61  

Anwendungen

Benötigen Sie Hilfe?

Wenn Sie Hilfe mit XWiki benötigen, wenden Sie sich an: