Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def infer(prompt):
|
|
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 |
|
39 |
gr.Interface(fn=infer, inputs=[gr.Textbox()], outputs=[gr.Textbox()]).launch()
|
|
|
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 |
+
print(output_dict)
|
37 |
return "done"
|
38 |
|
39 |
gr.Interface(fn=infer, inputs=[gr.Textbox()], outputs=[gr.Textbox()]).launch()
|