haoheliu commited on
Commit
885915f
1 Parent(s): c2d0ef6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -86,7 +86,7 @@ with iface:
86
  label="Seed",
87
  info="Change this value (any integer number) will lead to a different generation result.",
88
  )
89
- duration = gr.Slider(5, 15, value=10, step=2.5, label="Duration (seconds)")
90
  guidance_scale = gr.Slider(
91
  0,
92
  7,
@@ -109,7 +109,8 @@ with iface:
109
 
110
  btn.click(
111
  text2audio,
112
- inputs=[textbox, negative_textbox, duration, guidance_scale, seed, n_candidates],
 
113
  outputs=[outputs],
114
  )
115
 
 
86
  label="Seed",
87
  info="Change this value (any integer number) will lead to a different generation result.",
88
  )
89
+ # duration = gr.Slider(5, 15, value=10, step=2.5, label="Duration (seconds)")
90
  guidance_scale = gr.Slider(
91
  0,
92
  7,
 
109
 
110
  btn.click(
111
  text2audio,
112
+ # inputs=[textbox, negative_textbox, duration, guidance_scale, seed, n_candidates],
113
+ inputs=[textbox, negative_textbox, 10, guidance_scale, seed, n_candidates],
114
  outputs=[outputs],
115
  )
116