wasmdashai commited on
Commit
1e96a52
·
verified ·
1 Parent(s): 4451360

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -1,5 +1,9 @@
1
  import gradio as gr
 
 
 
2
 
 
3
  def greet(name):
4
  return "Hello " + name + "!!"
5
 
 
1
  import gradio as gr
2
+ from models.tacotron2 import Tacotron2Wave
3
+ model = Tacotron2Wave('pretrained/tacotron2_ar_adv.pth')
4
+ #model = model.cuda()
5
 
6
+ wave = model.tts("يعطوني على حسب العذر التمديد من اسبوع الى اسبوعين ")
7
  def greet(name):
8
  return "Hello " + name + "!!"
9