Baseta commited on
Commit
a1f5e0e
1 Parent(s): e67ee61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1540,7 +1540,7 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="pink", secondary_hue="rose")
1540
  with gr.Row():
1541
  with gr.Accordion('ElevenLabs / Google TTS', open=False):
1542
  with gr.Column():
1543
- lang = gr.Radio(label='Chinese & Japanese do not work with ElevenLabs currently.',choices=['en','it','es','fr','pt','zh-CN','de','hi','ja'], value='en')
1544
  api_box = gr.Textbox(label="Enter your API Key for ElevenLabs, or leave empty to use GoogleTTS", value='')
1545
  elevenid=gr.Dropdown(label="Voice:", choices=eleven_voices)
1546
  with gr.Column():
@@ -1605,7 +1605,7 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="pink", secondary_hue="rose")
1605
 
1606
  animate_button.click(fn=mouth, inputs=[size, face, vc_output2, faces], outputs=[animation, preview])
1607
 
1608
- with gr.Accordion("Advanced Options", open=False):
1609
  f0method0 = gr.Radio(
1610
  label="Optional: Change the Pitch Extraction Algorithm. Extraction methods are sorted from 'worst quality' to 'best quality'. If you don't know what you're doing, leave rmvpe.",
1611
  choices=["pm", "dio", "crepe-tiny", "mangio-crepe-tiny", "crepe", "harvest", "mangio-crepe", "rmvpe"], # Fork Feature. Add Crepe-Tiny
@@ -1729,7 +1729,7 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="pink", secondary_hue="rose")
1729
  [vc_output1, vc_output2],
1730
  )
1731
 
1732
- with gr.Accordion("Batch Conversion",open=False, visible=False):
1733
  with gr.Row():
1734
  with gr.Column():
1735
  vc_transform1 = gr.Number(
 
1540
  with gr.Row():
1541
  with gr.Accordion('ElevenLabs / Google TTS', open=False):
1542
  with gr.Column():
1543
+ lang = gr.Radio(label='Chinese & Japanese do not work with ElevenLabs currently.',choices=['ar','en','it','es','fr','pt','zh-CN','de','hi','ja'], value='en')
1544
  api_box = gr.Textbox(label="Enter your API Key for ElevenLabs, or leave empty to use GoogleTTS", value='')
1545
  elevenid=gr.Dropdown(label="Voice:", choices=eleven_voices)
1546
  with gr.Column():
 
1605
 
1606
  animate_button.click(fn=mouth, inputs=[size, face, vc_output2, faces], outputs=[animation, preview])
1607
 
1608
+ with gr.Accordion("Advanced Options", open=True):
1609
  f0method0 = gr.Radio(
1610
  label="Optional: Change the Pitch Extraction Algorithm. Extraction methods are sorted from 'worst quality' to 'best quality'. If you don't know what you're doing, leave rmvpe.",
1611
  choices=["pm", "dio", "crepe-tiny", "mangio-crepe-tiny", "crepe", "harvest", "mangio-crepe", "rmvpe"], # Fork Feature. Add Crepe-Tiny
 
1729
  [vc_output1, vc_output2],
1730
  )
1731
 
1732
+ with gr.Accordion("Batch Conversion",open=False, visible=True):
1733
  with gr.Row():
1734
  with gr.Column():
1735
  vc_transform1 = gr.Number(