LilyF commited on
Commit
c4bd36b
·
1 Parent(s): d79329d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -39,8 +39,15 @@ output2_Audio = gr.Audio(label = "Generated Audio")
39
  title = "Generate Text and it's Audio!"
40
  description = "Provide the text, and how many subwords to generate"
41
 
 
 
 
 
 
 
42
  iface = gr.Interface(fn=generateTextAndAudio,
43
  inputs=[input1_textbox, input2_slider],
44
  outputs=[output1_textbox, output2_Audio],
45
  title=title,
46
- description=description).launch(debug = True)
 
 
39
  title = "Generate Text and it's Audio!"
40
  description = "Provide the text, and how many subwords to generate"
41
 
42
+ examples = [
43
+ ["I won a", 50],
44
+ ["My name is", 30],
45
+ ["I have", 60]
46
+ ]
47
+
48
  iface = gr.Interface(fn=generateTextAndAudio,
49
  inputs=[input1_textbox, input2_slider],
50
  outputs=[output1_textbox, output2_Audio],
51
  title=title,
52
+ description=description,
53
+ examples=examples).launch(debug = True)