Spaces:
Runtime error
Runtime error
added instructions
Browse files
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(
|
|
|
|
|
|
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()
|