Spaces:
Sleeping
Sleeping
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() | |