Respair commited on
Commit
15db1af
โ€ข
1 Parent(s): 65aa1b6

Update app_tsukasa_remote.py

Browse files
Files changed (1) hide show
  1. app_tsukasa_remote.py +2 -2
app_tsukasa_remote.py CHANGED
@@ -120,7 +120,7 @@ with gr.Blocks() as audio_inf:
120
  with gr.Row():
121
  with gr.Column(scale=1):
122
  inp = gr.Textbox(label="Text", info="Enter the text", value="ใใฟใฎๅญ˜ๅœจใฏใ€็งใฎๅฟƒใฎไธญใง็‡ƒใˆใ‚‹ๅฐใ•ใชๅ…‰ใฎใ‚ˆใ†ใ€‚ใใฟใŒใ„ใชใ„ๆ™‚ใ€ไธ–็•Œใฏ็™ฝ้ป’ใฎๅ†™็œŸใฟใŸใ„ใซๅฏ‚ใ—ใใฆใ€ไฝ•ใ‚‚่ผใ„ใฆใชใ„ใ€‚ใใฟใฎ็ฌ‘้ก”ใ ใ‘ใŒใ€็งใฎ็ฐ่‰ฒใฎๆ—ฅใ€…ใซ่‰ฒใ‚’ๅก—ใฃใฆใใ‚Œใ‚‹ใ€‚้›ขใ‚Œใฆใ‚‹ๆ™‚้–“ใฏใ€ใ‚ใกใ‚ƒใใกใ‚ƒ้•ทใๆ„Ÿใ˜ใ‚‰ใ‚Œใฆใ€ใใฟใธใฎๆƒณใ„ใฏ้ขจ่ˆนใฟใŸใ„ใซใฉใ‚“ใฉใ‚“่†จใ‚‰ใ‚“ใงใ„ใใ€‚ใใฟใชใ—ใฎไธ–็•Œใชใ‚“ใฆใ€ๆƒณๅƒใงใใชใ„ใ‚ˆใ€‚", interactive=True, scale=5)
123
- voice = gr.Dropdown(voicelist, label="Voice", info="Select a default voice.", value=voicelist[5], interactive=True)
124
  voice_2 = gr.Audio(label="Upload your own Audio", interactive=True, type='filepath', max_length=300, waveform_options={'waveform_color': '#a3ffc3', 'waveform_progress_color': '#e972ab'})
125
 
126
  with gr.Accordion("Advanced Parameters", open=False):
@@ -493,7 +493,7 @@ with gr.Blocks(title="Tsukasa ๅธ", css=custom_css + "footer{display:none !impor
493
 
494
 
495
  gr.TabbedInterface([longform, audio_inf, prompt_inference, read_me, read_me_jp],
496
- ['Kotodama Text Inference', 'Voice-guided Inference','Prompt-guided Inference [Highly Experimental - not optimized]', 'Read Me! [English]', 'Read Me! [ๆ—ฅๆœฌ่ชž]'])
497
 
498
  if __name__ == "__main__":
499
  demo.queue(api_open=False, max_size=15).launch(show_api=False, share=True)
 
120
  with gr.Row():
121
  with gr.Column(scale=1):
122
  inp = gr.Textbox(label="Text", info="Enter the text", value="ใใฟใฎๅญ˜ๅœจใฏใ€็งใฎๅฟƒใฎไธญใง็‡ƒใˆใ‚‹ๅฐใ•ใชๅ…‰ใฎใ‚ˆใ†ใ€‚ใใฟใŒใ„ใชใ„ๆ™‚ใ€ไธ–็•Œใฏ็™ฝ้ป’ใฎๅ†™็œŸใฟใŸใ„ใซๅฏ‚ใ—ใใฆใ€ไฝ•ใ‚‚่ผใ„ใฆใชใ„ใ€‚ใใฟใฎ็ฌ‘้ก”ใ ใ‘ใŒใ€็งใฎ็ฐ่‰ฒใฎๆ—ฅใ€…ใซ่‰ฒใ‚’ๅก—ใฃใฆใใ‚Œใ‚‹ใ€‚้›ขใ‚Œใฆใ‚‹ๆ™‚้–“ใฏใ€ใ‚ใกใ‚ƒใใกใ‚ƒ้•ทใๆ„Ÿใ˜ใ‚‰ใ‚Œใฆใ€ใใฟใธใฎๆƒณใ„ใฏ้ขจ่ˆนใฟใŸใ„ใซใฉใ‚“ใฉใ‚“่†จใ‚‰ใ‚“ใงใ„ใใ€‚ใใฟใชใ—ใฎไธ–็•Œใชใ‚“ใฆใ€ๆƒณๅƒใงใใชใ„ใ‚ˆใ€‚", interactive=True, scale=5)
123
+ voice = gr.Dropdown(voicelist, label="Voice", info="Select a default voice.", value=voicelist[7], interactive=True)
124
  voice_2 = gr.Audio(label="Upload your own Audio", interactive=True, type='filepath', max_length=300, waveform_options={'waveform_color': '#a3ffc3', 'waveform_progress_color': '#e972ab'})
125
 
126
  with gr.Accordion("Advanced Parameters", open=False):
 
493
 
494
 
495
  gr.TabbedInterface([longform, audio_inf, prompt_inference, read_me, read_me_jp],
496
+ ['Kotodama Text Inference [Works Best!]', 'Voice-guided Inference','Prompt-guided Inference [Highly Experimental - not optimized]', 'Read Me! [English]', 'Read Me! [ๆ—ฅๆœฌ่ชž]'])
497
 
498
  if __name__ == "__main__":
499
  demo.queue(api_open=False, max_size=15).launch(show_api=False, share=True)