Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -189,8 +189,8 @@ with gr.Blocks() as vctk:
|
|
189 |
inp = gr.Textbox(label="Text", info="Enter the text | テキストを入れてください、短すぎるとひどくなります.", value="あなたがいないと、世界は色褪せて見えます。あなたの笑顔が私の日々を明るく照らしています。あなたがいない日は、まるで冬のように寒く、暗いです.", interactive=True)
|
190 |
voice = gr.Dropdown(voicelist, label="Voice", info="Select a default voice.", value='3', interactive=True)
|
191 |
embscale = gr.Slider(minimum=1, maximum=10, value=1.8, step=0.1, label="Embedding Scale (READ WARNING BELOW)", info="これを上げたらもっとエモーショナルな音声になります(下げたらその逆)、増やしすぎるとだめになるので、ご注意ください", interactive=True)
|
192 |
-
alpha = gr.Slider(minimum=0, maximum=1, value=0.1, step=0.
|
193 |
-
beta = gr.Slider(minimum=0, maximum=1, value=0.1, step=0.
|
194 |
multispeakersteps = gr.Slider(minimum=3, maximum=15, value=3, step=1, label="Diffusion Steps", interactive=True)
|
195 |
# use_gruut = gr.Checkbox(label="Use alternate phonemizer (Gruut) - Experimental")
|
196 |
with gr.Column(scale=1):
|
@@ -240,7 +240,7 @@ with gr.Blocks(title="StyleTTS 2", css="footer{display:none !important}", theme=
|
|
240 |
gr.Markdown(INTROTXT)
|
241 |
gr.DuplicateButton("Duplicate Space")
|
242 |
# gr.TabbedInterface([vctk, clone, lj, longText], ['Multi-Voice', 'Voice Cloning', 'Text-guided Inference', 'Long Text [Beta]'])
|
243 |
-
gr.TabbedInterface([lj, vctk], ['|Text-guided Inference|','With Reference Audio','Text-guided Inference', 'Long Text [Beta]'])
|
244 |
gr.Markdown("""
|
245 |
the base code was borrowed from -> [mrfakename](https://twitter.com/realmrfakename). Neither of us are affiliated with the StyleTTS 2's authors.
|
246 |
""") # Please do not remove this line.
|
|
|
189 |
inp = gr.Textbox(label="Text", info="Enter the text | テキストを入れてください、短すぎるとひどくなります.", value="あなたがいないと、世界は色褪せて見えます。あなたの笑顔が私の日々を明るく照らしています。あなたがいない日は、まるで冬のように寒く、暗いです.", interactive=True)
|
190 |
voice = gr.Dropdown(voicelist, label="Voice", info="Select a default voice.", value='3', interactive=True)
|
191 |
embscale = gr.Slider(minimum=1, maximum=10, value=1.8, step=0.1, label="Embedding Scale (READ WARNING BELOW)", info="これを上げたらもっとエモーショナルな音声になります(下げたらその逆)、増やしすぎるとだめになるので、ご注意ください", interactive=True)
|
192 |
+
alpha = gr.Slider(minimum=0, maximum=1, value=0.1, step=0.4, label="Alpha",info ="Closer to 0 means similar to the Audio Reference | ゼロに近いほど、音声サンプルのスタイルに近い音声になります", interactive=True)
|
193 |
+
beta = gr.Slider(minimum=0, maximum=1, value=0.1, step=0.2, label="Beta",info ="alphaと同じく", interactive=True)
|
194 |
multispeakersteps = gr.Slider(minimum=3, maximum=15, value=3, step=1, label="Diffusion Steps", interactive=True)
|
195 |
# use_gruut = gr.Checkbox(label="Use alternate phonemizer (Gruut) - Experimental")
|
196 |
with gr.Column(scale=1):
|
|
|
240 |
gr.Markdown(INTROTXT)
|
241 |
gr.DuplicateButton("Duplicate Space")
|
242 |
# gr.TabbedInterface([vctk, clone, lj, longText], ['Multi-Voice', 'Voice Cloning', 'Text-guided Inference', 'Long Text [Beta]'])
|
243 |
+
gr.TabbedInterface([lj, vctk], ['|Text-guided Inference|','With Reference Audio(Not Optimized)','Text-guided Inference', 'Long Text [Beta]'])
|
244 |
gr.Markdown("""
|
245 |
the base code was borrowed from -> [mrfakename](https://twitter.com/realmrfakename). Neither of us are affiliated with the StyleTTS 2's authors.
|
246 |
""") # Please do not remove this line.
|