Spaces:
Sleeping
Sleeping
File size: 383 Bytes
fcf3782 1e96a52 fcf3782 1e96a52 fcf3782 |
1 2 3 4 5 6 7 8 9 10 11 12 |
import gradio as gr
from models.tacotron2 import Tacotron2Wave
model = Tacotron2Wave('pretrained/tacotron2_ar_adv.pth')
#model = model.cuda()
wave = model.tts("يعطوني على حسب العذر التمديد من اسبوع الى اسبوعين ")
def greet(name):
return "Hello " + name + "!!"
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
demo.launch()
|