Ahsen Khaliq commited on
Commit
a9d4fe4
1 Parent(s): e16e942

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -11,6 +11,10 @@ article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2109.069
11
  examples = [
12
  ["Hello this is a test run","fastspeech2-en-200_speaker-cv4"],
13
  ["Hello, this is a test run.","tts_transformer-en-200_speaker-cv4"],
 
 
 
 
14
  ]
15
 
16
  io1 = gr.Interface.load("huggingface/facebook/fastspeech2-en-200_speaker-cv4")
@@ -44,7 +48,7 @@ def inference(text,model):
44
 
45
  gr.Interface(
46
  inference,
47
- [gr.inputs.Textbox(label="Input",lines=5),gr.inputs.Dropdown(choices=["fastspeech2-en-200_speaker-cv4","tts_transformer-en-200_speaker-cv4","tts_transformer-zh-cv7_css10","tts_transformer-fr-cv7_css10","tts_transformer-ru-cv7_css10"], type="value", default="fastspeech2-en-200_speaker-cv4", label="model")
48
  ],
49
  gr.outputs.Audio(label="Output"),
50
  examples=examples,
 
11
  examples = [
12
  ["Hello this is a test run","fastspeech2-en-200_speaker-cv4"],
13
  ["Hello, this is a test run.","tts_transformer-en-200_speaker-cv4"],
14
+ ["Bonjour, ceci est un test.","tts_transformer-fr-cv7_css10"],
15
+ ["BЗдравствуйте, это пробный запуск.","tts_transformer-ru-cv7_css10"],
16
+ ["Merhaba, bu bir deneme çalışmasıdır.","tts_transformer-tr-cv7"],
17
+
18
  ]
19
 
20
  io1 = gr.Interface.load("huggingface/facebook/fastspeech2-en-200_speaker-cv4")
 
48
 
49
  gr.Interface(
50
  inference,
51
+ [gr.inputs.Textbox(label="Input",lines=5),gr.inputs.Dropdown(choices=["fastspeech2-en-200_speaker-cv4","tts_transformer-en-200_speaker-cv4","tts_transformer-tr-cv7","tts_transformer-fr-cv7_css10","tts_transformer-ru-cv7_css10"], type="value", default="fastspeech2-en-200_speaker-cv4", label="model")
52
  ],
53
  gr.outputs.Audio(label="Output"),
54
  examples=examples,