almncarlo commited on
Commit
2f7936e
1 Parent(s): 71dc023

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1,9 +1,9 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
- pipe = pipeline(task="automatic-speech-recognition",
5
- model="nvidia/canary-1b")
6
  gr.Interface.from_pipeline(pipe,
7
- title="Automatic Speech Recognition (ASR)",
8
- description="Using pipeline with NVIDIA Canary",
9
  ).launch(inbrowser=True)
 
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
+ pipe = pipeline(task="text-to-apeech",
5
+ model="espnet/kan-bayashi_ljspeech_vits")
6
  gr.Interface.from_pipeline(pipe,
7
+ title="TTS",
8
+ description="Using pipeline with VITS TTS",
9
  ).launch(inbrowser=True)