Skip to content

Commit

Permalink
spelling corrections
Browse files Browse the repository at this point in the history
sentance corrected to sentence, englisch corrected to english
  • Loading branch information
GOTHIC3020 authored Feb 4, 2025
1 parent 89334fd commit 78a0329
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions script.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ def voice_preview():

def ui():
info_voice = """Select a Voice. \nThe default voice is a 50-50 mix of Bella & Sarah\nVoices starting with 'a' are American
englisch, voices with 'b' are British englisch"""
english, voices with 'b' are British english"""
with gr.Accordion("Kokoro"):
voice = gr.Dropdown(choices=VOICES, value=VOICES[0], label="Voice", info=info_voice, interactive=True)

preview = gr.Button("Voice preview", type="secondary")

preview_output = gr.HTML()

info_splitting ="""Kokoro only supports 510 tokens. One method to split the text is by sentance (default), the otherway
info_splitting ="""Kokoro only supports 510 tokens. One method to split the text is by sentence (default), the otherway
is by word up to 510 tokens. """
spltting_method = gr.Radio(["Split by Sentance", "Split by Word"], info=info_splitting, value="Split by Sentance", label_lines=2, interactive=True)
spltting_method = gr.Radio(["Split by sentence", "Split by Word"], info=info_splitting, value="Split by sentence", label_lines=2, interactive=True)


voice.change(voice_update, voice)
Expand Down

0 comments on commit 78a0329

Please sign in to comment.