Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ out_audio = gradio.Audio(
|
|
27 |
input_text = gradio.Textbox(
|
28 |
label="Input Text",
|
29 |
lines=2,
|
30 |
-
value="
|
31 |
elem_id="input_text"
|
32 |
)
|
33 |
|
@@ -39,7 +39,7 @@ outputs = [out_audio]
|
|
39 |
generate_audio_gr = gradio.Interface(
|
40 |
fn=genaudio,
|
41 |
inputs=inputs,
|
42 |
-
outputs=
|
43 |
title="Generate Audio",
|
44 |
description="An API to generate audio"
|
45 |
)
|
|
|
27 |
input_text = gradio.Textbox(
|
28 |
label="Input Text",
|
29 |
lines=2,
|
30 |
+
value="There are 7 days in a week",
|
31 |
elem_id="input_text"
|
32 |
)
|
33 |
|
|
|
39 |
generate_audio_gr = gradio.Interface(
|
40 |
fn=genaudio,
|
41 |
inputs=inputs,
|
42 |
+
outputs="text",
|
43 |
title="Generate Audio",
|
44 |
description="An API to generate audio"
|
45 |
)
|