Spaces:
Runtime error
Runtime error
m4jbz
commited on
Commit
•
2169e51
1
Parent(s):
1089722
idk
Browse files
app.py
CHANGED
@@ -170,12 +170,29 @@ with demo:
|
|
170 |
|
171 |
output_info = gr.HTML(label="Info")
|
172 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
input_button.click(
|
174 |
process,
|
175 |
inputs=[
|
176 |
language_radio,
|
177 |
model_dropdown,
|
178 |
input_text,
|
|
|
179 |
input_speed,
|
180 |
],
|
181 |
outputs=[
|
|
|
170 |
|
171 |
output_info = gr.HTML(label="Info")
|
172 |
|
173 |
+
gr.Examples(
|
174 |
+
examples=examples,
|
175 |
+
fn=process,
|
176 |
+
inputs=[
|
177 |
+
language_radio,
|
178 |
+
model_dropdown,
|
179 |
+
input_text,
|
180 |
+
input_sid,
|
181 |
+
input_speed,
|
182 |
+
],
|
183 |
+
outputs=[
|
184 |
+
output_audio,
|
185 |
+
output_info,
|
186 |
+
],
|
187 |
+
)
|
188 |
+
|
189 |
input_button.click(
|
190 |
process,
|
191 |
inputs=[
|
192 |
language_radio,
|
193 |
model_dropdown,
|
194 |
input_text,
|
195 |
+
input_sid,
|
196 |
input_speed,
|
197 |
],
|
198 |
outputs=[
|