Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ with gr.Blocks(title="LLM with TTS",head=head) as demo:
|
|
104 |
js = """
|
105 |
function(chatbot){
|
106 |
text = (chatbot[chatbot.length -1])["content"]
|
107 |
-
window.MatchaTTSEn(
|
108 |
}
|
109 |
"""
|
110 |
chatbot = gr.Chatbot(type="messages")
|
|
|
104 |
js = """
|
105 |
function(chatbot){
|
106 |
text = (chatbot[chatbot.length -1])["content"]
|
107 |
+
window.MatchaTTSEn(text)
|
108 |
}
|
109 |
"""
|
110 |
chatbot = gr.Chatbot(type="messages")
|