tobiccino commited on
Commit
0eeec8f
1 Parent(s): bba0167

update apppy

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -36,10 +36,10 @@ class GradioApplication:
36
 
37
 
38
  def infer(self, text, lang, duration_rate):
39
- if(lang == "VietTTS"):
40
- return using_viettts(text,duration_rate)
41
- else :
42
  return using_tacotron(text)
 
 
43
  return 1
44
 
45
  def run(self):
 
36
 
37
 
38
  def infer(self, text, lang, duration_rate):
39
+ if(lang == "Tacotron2"):
 
 
40
  return using_tacotron(text)
41
+ else :
42
+ return using_viettts(text,duration_rate)
43
  return 1
44
 
45
  def run(self):