Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def infer(prompt):
|
|
38 |
output_dict = model.synthesize(text, config, speaker_id="speaker", voice_dirs="bark_voices/")
|
39 |
print(output_dict)
|
40 |
|
41 |
-
sample_rate =
|
42 |
|
43 |
wavfile.write('output.wav', sample_rate, output_dict['wav'])
|
44 |
|
|
|
38 |
output_dict = model.synthesize(text, config, speaker_id="speaker", voice_dirs="bark_voices/")
|
39 |
print(output_dict)
|
40 |
|
41 |
+
sample_rate = 24000 # Replace with the actual sample rate
|
42 |
|
43 |
wavfile.write('output.wav', sample_rate, output_dict['wav'])
|
44 |
|