w11wo commited on
Commit
66de3a6
β€’
1 Parent(s): b3d59f4

added instructions

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -110,6 +110,7 @@ inputs = [
110
 
111
  outputs = gr.outputs.Audio(type="file", label="Output Audio")
112
  title = "Bookbot Grad-TTS Weildan Demo 🐨"
 
113
 
114
  utterances = [
115
  "Selamat pagi! Selamat datang di Jakarta!",
@@ -121,4 +122,6 @@ utterances = [
121
  timesteps = [(i * 10) + 50 for i in range(len(utterances))]
122
  examples = [list(l) for l in zip(utterances, timesteps)]
123
 
124
- gr.Interface(inference, inputs, outputs, title=title, examples=examples).launch()
 
 
 
110
 
111
  outputs = gr.outputs.Audio(type="file", label="Output Audio")
112
  title = "Bookbot Grad-TTS Weildan Demo 🐨"
113
+ description = "Hi there! You can start typing any input text ⌨, select your preferred timesteps ⌚, and hit submit! πŸš‚ Please be patient as it may take a while - the greater the timestep, the longer the generation 😁"
114
 
115
  utterances = [
116
  "Selamat pagi! Selamat datang di Jakarta!",
 
122
  timesteps = [(i * 10) + 50 for i in range(len(utterances))]
123
  examples = [list(l) for l in zip(utterances, timesteps)]
124
 
125
+ gr.Interface(
126
+ inference, inputs, outputs, title=title, description=description, examples=examples
127
+ ).launch()