haoheliu commited on
Commit
598595d
1 Parent(s): 2491afb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -8
app.py CHANGED
@@ -54,6 +54,13 @@ def text2audio(
54
  waveform = waveform[0]
55
  return waveform
56
 
 
 
 
 
 
 
 
57
  css = """
58
  a {
59
  color: inherit;
@@ -299,14 +306,14 @@ with iface:
299
  )
300
  gr.Examples(
301
  [
302
- # [
303
- # "Birds singing sweetly in a blooming garden.",
304
- # 10,
305
- # 3.5,
306
- # 45,
307
- # 3,
308
- # default_checkpoint,
309
- # ],
310
  [
311
  "A modern synthesizer creating futuristic soundscapes.",
312
  10,
 
54
  waveform = waveform[0]
55
  return waveform
56
 
57
+ text_to_audio("Birds singing sweetly in a blooming garden.",
58
+ 10,
59
+ 3.5,
60
+ 45,
61
+ 3,
62
+ default_checkpoint)
63
+
64
  css = """
65
  a {
66
  color: inherit;
 
306
  )
307
  gr.Examples(
308
  [
309
+ [
310
+ "Birds singing sweetly in a blooming garden.",
311
+ 10,
312
+ 3.5,
313
+ 45,
314
+ 3,
315
+ default_checkpoint,
316
+ ],
317
  [
318
  "A modern synthesizer creating futuristic soundscapes.",
319
  10,