Rex Cheng commited on
Commit
b4858e2
β€’
1 Parent(s): d6a6a48

fix t2a seeding

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -258,7 +258,7 @@ text_to_audio_tab = gr.Interface(
258
  inputs=[
259
  gr.Text(label='Prompt'),
260
  gr.Text(label='Negative prompt'),
261
- gr.Number(label='Seed', value=0, precision=0, minimum=0),
262
  gr.Number(label='Num steps', value=25, precision=0, minimum=1),
263
  gr.Number(label='Guidance Strength', value=4.5, minimum=1),
264
  gr.Number(label='Duration (sec)', value=8, minimum=1),
 
258
  inputs=[
259
  gr.Text(label='Prompt'),
260
  gr.Text(label='Negative prompt'),
261
+ gr.Number(label='Seed (-1: random)', value=-1, precision=0, minimum=-1),
262
  gr.Number(label='Num steps', value=25, precision=0, minimum=1),
263
  gr.Number(label='Guidance Strength', value=4.5, minimum=1),
264
  gr.Number(label='Duration (sec)', value=8, minimum=1),