Sfoglia il codice sorgente

Fix button height (#145)

spicysama 1 anno fa
parent
commit
c864e426f5
2 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  1. 1 1
      fish_speech/i18n/locale/ja_JP.json
  2. 0 2
      fish_speech/webui/manage.py

+ 1 - 1
fish_speech/i18n/locale/ja_JP.json

@@ -18,7 +18,7 @@
     "Enable Reference Audio": "リファレンスオーディオを有効にする",
     "English": "英語",
     "Error Message": "エラーメッセージ",
-    "File Preprocessing": "ファイル前処理",
+    "File Preprocessing": "文書前处理",
     "Generate": "生成",
     "Generated Audio": "生成されたオーディオ",
     "If there is no corresponding text for the audio, apply ASR for assistance, support .txt or .lab format": "音声に対応するテキストがない場合は、ASRを適用してサポートします。.txtまたは.lab形式をサポートしています",

+ 0 - 2
fish_speech/webui/manage.py

@@ -972,8 +972,6 @@ with gr.Blocks(
             with gr.Row(equal_height=False):
                 admit_btn = gr.Button(
                     "\U00002705 " + i18n("File Preprocessing"),
-                    scale=0,
-                    min_width=160,
                     variant="primary",
                 )
                 fresh_btn = gr.Button("\U0001F503", scale=0, min_width=80)