xjsc0 commited on
Commit
3fa5c17
·
1 Parent(s): 79cf33b
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -554,7 +554,7 @@ def build_ui():
554
  # ================================================================
555
  with gr.Row(equal_height=True):
556
  with gr.Column(scale=1):
557
- gr.Markdown("#### 🎙️ 音频输入 / Audio Inputs", elem_classes="section-title")
558
  ref_audio = gr.Audio(
559
  label="参考音频 / Reference Audio(提供音色 / Provides timbre)",
560
  type="filepath",
@@ -564,7 +564,7 @@ def build_ui():
564
  type="filepath",
565
  )
566
  with gr.Column(scale=1):
567
- gr.Markdown("#### ✏️ 歌词输入 / Lyrics", elem_classes="section-title")
568
  ref_text = gr.Textbox(
569
  label="参考音频歌词 / Reference Lyrics",
570
  placeholder="例如 / e.g.:该体谅的不执着|如果那天我",
@@ -580,7 +580,7 @@ def build_ui():
580
  # ROW 2 – 预设示例
581
  # ================================================================
582
  gr.HTML("<hr style='border-color:#30363d; margin: 16px 0 12px;'>")
583
- gr.Markdown("#### 🎵 预设示例 / Example Presets", elem_classes="section-title")
584
  gr.Markdown(
585
  "<small style='color:#8b949e;'>点击任意行自动填入上方输入区域 / Click any row to auto-fill the inputs above</small>"
586
  )
@@ -620,7 +620,7 @@ def build_ui():
620
  # ROW 3 – 伴奏分离
621
  # ================================================================
622
  gr.HTML("<hr style='border-color:#30363d; margin: 16px 0 12px;'>")
623
- gr.Markdown("#### 🎚️ 伴奏分离 / Vocal Separation", elem_classes="section-title")
624
 
625
  # CHANGE 4: Use inline style colors for 参考音频 and 旋律音频
626
  # so they render correctly regardless of CSS specificity issues
 
554
  # ================================================================
555
  with gr.Row(equal_height=True):
556
  with gr.Column(scale=1):
557
+ gr.Markdown("🎙️ 音频输入 / Audio Inputs", elem_classes="section-title")
558
  ref_audio = gr.Audio(
559
  label="参考音频 / Reference Audio(提供音色 / Provides timbre)",
560
  type="filepath",
 
564
  type="filepath",
565
  )
566
  with gr.Column(scale=1):
567
+ gr.Markdown("✏️ 歌词输入 / Lyrics", elem_classes="section-title")
568
  ref_text = gr.Textbox(
569
  label="参考音频歌词 / Reference Lyrics",
570
  placeholder="例如 / e.g.:该体谅的不执着|如果那天我",
 
580
  # ROW 2 – 预设示例
581
  # ================================================================
582
  gr.HTML("<hr style='border-color:#30363d; margin: 16px 0 12px;'>")
583
+ gr.Markdown("🎵 预设示例 / Example Presets", elem_classes="section-title")
584
  gr.Markdown(
585
  "<small style='color:#8b949e;'>点击任意行自动填入上方输入区域 / Click any row to auto-fill the inputs above</small>"
586
  )
 
620
  # ROW 3 – 伴奏分离
621
  # ================================================================
622
  gr.HTML("<hr style='border-color:#30363d; margin: 16px 0 12px;'>")
623
+ gr.Markdown("🎚️ 伴奏分离 / Vocal Separation", elem_classes="section-title")
624
 
625
  # CHANGE 4: Use inline style colors for 参考音频 and 旋律音频
626
  # so they render correctly regardless of CSS specificity issues