Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def tts(inp,names,length,noise,width,sen_pause):
|
|
53 |
print(inp[-1][-1])
|
54 |
txt = inp[-1][-1].strip("</s>")
|
55 |
#decoded_text = codecs.decode(txt, "unicode_escape")
|
56 |
-
yield from pp.stream_tts(txt,names,length,noise,width,sen_pause)
|
57 |
|
58 |
with gr.Blocks() as iface:
|
59 |
gr.HTML("""<center><div style='font-size:xx-large;font-weight:900;'>Mixtral 8x7b Chatbot + Piper TTS</div>""")
|
|
|
53 |
print(inp[-1][-1])
|
54 |
txt = inp[-1][-1].strip("</s>")
|
55 |
#decoded_text = codecs.decode(txt, "unicode_escape")
|
56 |
+
yield from pp.stream_tts([txt],names,length,noise,width,sen_pause)
|
57 |
|
58 |
with gr.Blocks() as iface:
|
59 |
gr.HTML("""<center><div style='font-size:xx-large;font-weight:900;'>Mixtral 8x7b Chatbot + Piper TTS</div>""")
|