Commit
·
45dcb24
1
Parent(s):
9850179
Update app.py
Browse files
app.py
CHANGED
@@ -79,8 +79,6 @@ def predict(text, speaker):
|
|
79 |
title = "Tibetan TTS"
|
80 |
|
81 |
description = """
|
82 |
-
The <b>SpeechT5</b> model is pre-trained on text as well as speech inputs, with targets that are also a mix of text and speech.
|
83 |
-
By pre-training on text and speech at the same time, it learns unified representations for both, resulting in improved modeling capabilities.
|
84 |
"""
|
85 |
article = """
|
86 |
<div style='margin:20px auto;'>
|
@@ -108,7 +106,6 @@ examples = [
|
|
108 |
["ཁོང་རྣམ་པ་ནི་སྤྱིར་བཏང་གི་གང་ཟག་ཅིག་མ་ཡིན་པར་མི་རབས་ནས་མི་རབས་རྒྱུད་པ་འཛིན་པའི་ནོར་བུ་ཡིན་ཞིང་། ", "Lhasa(female)"],
|
109 |
["ཨ་ལེ། ཨེ་ནས་སྤྱིར་བཏང་ད་ང་ཚོ་ད་ལྟ་ཁྱེད་རང་གིས་དམིགས་ཡུལ་ད་གལ་ཆེན་པོ་བརྩིས་ནས།", "Lhasa(female)"],
|
110 |
["འཕགས་པ་ཐུགས་རྗེ་ཆེན་པོ་སྤྲུལ་པའི་རྒྱལ་པོའི་ཚུལ་བཟུང།།", "Lhasa(female)"],
|
111 |
-
["ད་དེ་ཚོ་འདི་བྱེད་དགོས་རེད་ ན་ཚ་ མ་ཡོང་སྔོན་ལ་ཁོ་རང་ལ་ཡང་ཁྱི་ཁོ་རང་ཁོ་ལ་ཡང་ཁབ་རྒྱག་ཡ་ཡོད་རེད། ཨུན་སྔོན་འགོག་དང་རཱབྷིསས་ཁབ་རྒྱག་ཡ་ཡོད་རེད་ད།", "Lhasa(female)"],
|
112 |
]
|
113 |
gr.Interface(
|
114 |
fn=predict,
|
|
|
79 |
title = "Tibetan TTS"
|
80 |
|
81 |
description = """
|
|
|
|
|
82 |
"""
|
83 |
article = """
|
84 |
<div style='margin:20px auto;'>
|
|
|
106 |
["ཁོང་རྣམ་པ་ནི་སྤྱིར་བཏང་གི་གང་ཟག་ཅིག་མ་ཡིན་པར་མི་རབས་ནས་མི་རབས་རྒྱུད་པ་འཛིན་པའི་ནོར་བུ་ཡིན་ཞིང་། ", "Lhasa(female)"],
|
107 |
["ཨ་ལེ། ཨེ་ནས་སྤྱིར་བཏང་ད་ང་ཚོ་ད་ལྟ་ཁྱེད་རང་གིས་དམིགས་ཡུལ་ད་གལ་ཆེན་པོ་བརྩིས་ནས།", "Lhasa(female)"],
|
108 |
["འཕགས་པ་ཐུགས་རྗེ་ཆེན་པོ་སྤྲུལ་པའི་རྒྱལ་པོའི་ཚུལ་བཟུང།།", "Lhasa(female)"],
|
|
|
109 |
]
|
110 |
gr.Interface(
|
111 |
fn=predict,
|