Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def infer(prompt):
|
|
32 |
|
33 |
# cloning a speaker.
|
34 |
# It assumes that you have a speaker file in `bark_voices/speaker_n/speaker.wav` or `bark_voices/speaker_n/speaker.npz`
|
35 |
-
output_dict = model.synthesize(text, config, speaker_id="
|
36 |
|
37 |
return "done"
|
38 |
|
|
|
32 |
|
33 |
# cloning a speaker.
|
34 |
# It assumes that you have a speaker file in `bark_voices/speaker_n/speaker.wav` or `bark_voices/speaker_n/speaker.npz`
|
35 |
+
output_dict = model.synthesize(text, config, speaker_id="speaker", voice_dirs="bark_voices/")
|
36 |
|
37 |
return "done"
|
38 |
|