Akjava commited on
Commit
0c2e8d3
·
verified ·
1 Parent(s): c9995a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -1
app.py CHANGED
@@ -162,8 +162,25 @@ with gr.Blocks(title="LLM with TTS",head=head) as demo:
162
  chatbot.change(None,[chatbot],[],js=js)
163
  msg = gr.Textbox()
164
  clear = gr.ClearButton([msg, chatbot])
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
 
166
- #demo = gr.ChatInterface(call_generate_text,chatbot=chatbot,type="messages")
167
  msg.submit(call_generate_text, [msg, chatbot], [msg, chatbot])
168
 
169
  if __name__ == "__main__":
 
162
  chatbot.change(None,[chatbot],[],js=js)
163
  msg = gr.Textbox()
164
  clear = gr.ClearButton([msg, chatbot])
165
+ gradio.HTML("""
166
+ <br>
167
+ <div id="footer">
168
+ <b>Spaces</b><br>
169
+ <a href="/spaces/Akjava/matcha-tts_vctk-onnx" style="font-size: 9px" target="link">Match-TTS VCTK-ONNX</a> |
170
+ <a href="/spaces/Akjava/matcha-tts-onnx-benchmarks" style="font-size: 9px" target="link">Match-TTS ONNX-Benchmark</a> |
171
+ <br><br>
172
+ <b>Credits</b><br>
173
+ <a href="https://github.com/akjava/Matcha-TTS-Japanese" style="font-size: 9px" target="link">Matcha-TTS-Japanese</a> |
174
+ <a href = "http://www.udialogue.org/download/cstr-vctk-corpus.html" style="font-size: 9px" target="link">CSTR VCTK Corpus</a> |
175
+ <a href = "https://github.com/cmusphinx/cmudict" style="font-size: 9px" target="link">CMUDict</a> |
176
+ <a href = "https://huggingface.co/docs/transformers.js/index" style="font-size: 9px" target="link">Transformer.js</a> |
177
+ <a href = "https://huggingface.co/cisco-ai/mini-bart-g2p" style="font-size: 9px" target="link">mini-bart-g2p</a> |
178
+ <a href = "https://onnxruntime.ai/docs/get-started/with-javascript/web.html" style="font-size: 9px" target="link">ONNXRuntime-Web</a> |
179
+ <a href = "https://github.com/akjava/English-To-IPA-Collections" style="font-size: 9px" target="link">English-To-IPA-Collections</a> |
180
+ <a href ="https://huggingface.co/papers/2309.03199" style="font-size: 9px" target="link">Matcha-TTS Paper</a>
181
+ </div>
182
+ """)
183
 
 
184
  msg.submit(call_generate_text, [msg, chatbot], [msg, chatbot])
185
 
186
  if __name__ == "__main__":