Johann Diedrick commited on
Commit
e09662f
·
1 Parent(s): fac1cff

added test values

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -23,6 +23,13 @@ def text2audio(text, negative_prompt, duration, guidance_scale, random_seed, n_c
23
  if text is None:
24
  raise gr.Error("Please provide a text input.")
25
 
 
 
 
 
 
 
 
26
  waveforms = pipe(
27
  text,
28
  audio_length_in_s=duration,
 
23
  if text is None:
24
  raise gr.Error("Please provide a text input.")
25
 
26
+ # test values
27
+ negative_prompt="Low quality."
28
+ duration=10
29
+ guidance_scale=3.5
30
+ random_seed=45
31
+ n_candidates=1
32
+
33
  waveforms = pipe(
34
  text,
35
  audio_length_in_s=duration,