chitsanfei commited on
Commit
f2bc1a9
·
verified ·
1 Parent(s): 2b351ba

👻: layout update

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -27,7 +27,8 @@ logging.getLogger("infer_rvc_python").setLevel(logging.ERROR)
27
  converter = BaseLoader(only_cpu=False, hubert_path=None, rmvpe_path=None)
28
 
29
  title = "<center><strong><font size='7'>RVC Emu Zero</font></strong></center>"
30
- description = "仅供学术使用!本项目运行在 ZeroGPU 上,修改自 r3gm/rvc_zero"
 
31
  theme = "NoCrypt/miku"
32
 
33
  PITCH_ALGO_OPT = [
@@ -446,7 +447,7 @@ def active_tts_conf():
446
 
447
  def tts_voice_conf():
448
  return gr.Dropdown(
449
- label="tts voice",
450
  choices=voices,
451
  visible=False,
452
  value="en-US-EmmaMultilingualNeural-Female",
@@ -474,7 +475,7 @@ def tts_button_conf():
474
  def tts_play_conf():
475
  return gr.Checkbox(
476
  False,
477
- label="播放",
478
  # info="",
479
  container=False,
480
  visible=False,
@@ -578,6 +579,7 @@ def get_gui(theme):
578
  with gr.Blocks(theme=theme, delete_cache=(3200, 3200)) as app:
579
  gr.Markdown(title)
580
  gr.Markdown(description)
 
581
 
582
  active_tts = active_tts_conf()
583
  with gr.Row():
 
27
  converter = BaseLoader(only_cpu=False, hubert_path=None, rmvpe_path=None)
28
 
29
  title = "<center><strong><font size='7'>RVC Emu Zero</font></strong></center>"
30
+ description = "仅供学术使用!这是一个 Project SEKAI 里的角色 Emu Otori 的 RVC 变声器。注意:本 space 和所使用的模型均在相关学术研究框架下进行,所造成的一切后果与本项目的开发者无关。本项目运行在 ZeroGPU 上,修改自 r3gm/rvc_zero"
31
+ description_en = "For academic use only! This is an RVC voice changer for the character Emu Otori from Project SEKAI. Note: Both this space and the models used are conducted within the framework of relevant academic research. Any consequences arising from this are not the responsibility of the developers of this project. This project runs on ZeroGPU and is modified from r3gm/rvc_zero."
32
  theme = "NoCrypt/miku"
33
 
34
  PITCH_ALGO_OPT = [
 
447
 
448
  def tts_voice_conf():
449
  return gr.Dropdown(
450
+ label="tts 语音选择",
451
  choices=voices,
452
  visible=False,
453
  value="en-US-EmmaMultilingualNeural-Female",
 
475
  def tts_play_conf():
476
  return gr.Checkbox(
477
  False,
478
+ label="自动播放原始声音",
479
  # info="",
480
  container=False,
481
  visible=False,
 
579
  with gr.Blocks(theme=theme, delete_cache=(3200, 3200)) as app:
580
  gr.Markdown(title)
581
  gr.Markdown(description)
582
+ gr.Markdown(description_en)
583
 
584
  active_tts = active_tts_conf()
585
  with gr.Row():