Harveenchadha commited on
Commit
f079036
1 Parent(s): c68edef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -89,7 +89,9 @@ choices = ['male', 'female']
89
  radioBtns = gr.inputs.Radio(choices, type="value", default='male', label=None)
90
 
91
  op = gr.outputs.Audio(type="numpy", label=None)
92
- examples = [['क्रिप्टो करेंसी दरअसल, वित्तीय लेन-देन का एक जरिया है। बिल्कुल भारतीय रुपये और अमेरिकी डॉलर के समान, अंतर सिर्फ इतना है कि यह आभाषी है और दिखाई नहीं देती, न ही आप इसे छू सकते हैं।', 'male']]
 
 
93
 
94
- iface = gr.Interface(fn=run_tts, examples=examples, inputs=[textbox,radioBtns], outputs=op, title='Vakyansh Text To Speech (TTS): Hindi Demo', description = 'Glow TTS + hifi gan. <a href=https://github.com/Open-Speech-EkStep/vakyansh-tts>Training Code</a>')
95
- iface.launch(enable_queue=True)
 
89
  radioBtns = gr.inputs.Radio(choices, type="value", default='male', label=None)
90
 
91
  op = gr.outputs.Audio(type="numpy", label=None)
92
+ examples = [['क्रिप्टो करेंसी दरअसल, वित्तीय लेन-देन का एक जरिया है। बिल्कुल भारतीय रुपये और अमेरिकी डॉलर के समान, अंतर सिर्फ इतना है कि यह आभाषी है और दिखाई नहीं देती, न ही आप इसे छू सकते हैं।', 'male']
93
+ ['mujhe abhi bhi yakeen nai aa raha ki yeh aise bhi chal sakta hai', 'male']
94
+ ['मुझे 26 रुपए दे दो, फिर मेरे पास 50 रुपए हो जाएंगे', 'male']]
95
 
96
+ iface = gr.Interface(fn=run_tts, examples=examples, inputs=[textbox,radioBtns], outputs=op, title='Vakyansh Text To Speech (TTS): Hindi Demo', description = 'Glow TTS + hifi gan. Training Code: https://github.com/Open-Speech-EkStep/vakyansh-tts')
97
+ iface.launch(enable_queue=True, cache_examples=True)