Akjava commited on
Commit
3f0e801
1 Parent(s): cf6fd2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(null,text)
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")