Shivam Mehta commited on
Commit
eece693
1 Parent(s): 83a83a1

Adding teaser url

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -144,7 +144,10 @@ with gr.Blocks(title="🍵 Matcha-TTS: A fast TTS architecture with conditional
144
  with gr.Box():
145
  with gr.Row():
146
  gr.Markdown(description, scale=3)
147
- gr.Image(LOGO_URL, label="Matcha-TTS logo", height=150, width=150, scale=1, show_label=False)
 
 
 
148
 
149
  with gr.Box():
150
  radio_options = list(RADIO_OPTIONS.keys())
@@ -299,6 +302,9 @@ with gr.Blocks(title="🍵 Matcha-TTS: A fast TTS architecture with conditional
299
  cache_examples=True,
300
  label="Multi Speaker Examples",
301
  )
 
 
 
302
 
303
  model_type.change(lambda x: gr.update(interactive=False), inputs=[synth_btn], outputs=[synth_btn]).then(
304
  load_model_ui,
 
144
  with gr.Box():
145
  with gr.Row():
146
  gr.Markdown(description, scale=3)
147
+ with gr.Column():
148
+ gr.Image(LOGO_URL, label="Matcha-TTS logo", height=50, width=50, scale=1, show_label=False)
149
+ html = '<br><iframe width="560" height="315" src="https://www.youtube.com/embed/xmvJkz3bqw0?si=jN7ILyDsbPwJCGoa" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>'
150
+ gr.HTML(html)
151
 
152
  with gr.Box():
153
  radio_options = list(RADIO_OPTIONS.keys())
 
302
  cache_examples=True,
303
  label="Multi Speaker Examples",
304
  )
305
+
306
+ with gr.Row():
307
+ gr.HTML('<iframe width="560" height="315" src="https://www.youtube.com/embed/xmvJkz3bqw0?si=jN7ILyDsbPwJCGoa" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>')
308
 
309
  model_type.change(lambda x: gr.update(interactive=False), inputs=[synth_btn], outputs=[synth_btn]).then(
310
  load_model_ui,