forked from mrq/tortoise-tts
Forgot to add steps=1 to Candidates slider
This commit is contained in:
parent
84a9758ab9
commit
cab32e1f45
6
app.py
6
app.py
|
@ -129,7 +129,7 @@ def main():
|
|||
type="filepath",
|
||||
)
|
||||
|
||||
candidates = gr.Slider(value=1, minimum=1, maximum=6, label="Candidates")
|
||||
candidates = gr.Slider(value=1, minimum=1, maximum=6, step=1, label="Candidates")
|
||||
seed = gr.Number(value=0, precision=0, label="Seed")
|
||||
|
||||
preset = gr.Radio(
|
||||
|
@ -153,6 +153,10 @@ def main():
|
|||
inputs=prompt,
|
||||
outputs=emotion
|
||||
)
|
||||
mic_audio.change(fn=lambda value: gr.update(value="microphone"),
|
||||
inputs=mic_audio,
|
||||
outputs=voice
|
||||
)
|
||||
|
||||
preset.change(fn=update_presets,
|
||||
inputs=preset,
|
||||
|
|
Loading…
Reference in New Issue
Block a user