Improve docs

This commit is contained in:
litagin02
2024-02-19 14:22:24 +09:00
parent 9305d108a8
commit 16ab5ac3a7
2 changed files with 15 additions and 5 deletions

View File

@@ -2,6 +2,16 @@
# Based on https://github.com/gradient-ai/base-container # Based on https://github.com/gradient-ai/base-container
# Style-Bert-VITS2 are NOT included in this image, only for environment setup # Style-Bert-VITS2 are NOT included in this image, only for environment setup
# ==================================================================
# Details
# ------------------------------------------------------------------
# Ubuntu 22.04, Python 3.10
# CUDA Toolkit 12.1, CUDNN 8.9.7
# PyTorch 2.1.2 (cuda 12.1)
# Jupyter Lab
# Huggingface CLI
# Other Python packages in requirements.txt
# ================================================================== # ==================================================================
# Initial setup # Initial setup
# ------------------------------------------------------------------ # ------------------------------------------------------------------

10
app.py
View File

@@ -311,18 +311,18 @@ if __name__ == "__main__":
load_button = gr.Button("ロード", scale=1, variant="primary") load_button = gr.Button("ロード", scale=1, variant="primary")
text_input = gr.TextArea(label="テキスト", value=initial_text) text_input = gr.TextArea(label="テキスト", value=initial_text)
pitch_scale = gr.Slider( pitch_scale = gr.Slider(
minimum=0, minimum=0.8,
maximum=2, maximum=1.5,
value=1, value=1,
step=0.1, step=0.05,
label="音程", label="音程(1以外では音質劣化)",
) )
intonation_scale = gr.Slider( intonation_scale = gr.Slider(
minimum=0, minimum=0,
maximum=2, maximum=2,
value=1, value=1,
step=0.1, step=0.1,
label="抑揚", label="抑揚(1以外では音質劣化)",
) )
line_split = gr.Checkbox( line_split = gr.Checkbox(