Spaces:
Runtime error
Runtime error
anyantudre
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -14,8 +14,7 @@ demo = gr.Blocks()
|
|
14 |
goai_stt = gr.Interface(
|
15 |
fn = goai_stt.goai_stt,
|
16 |
inputs=[
|
17 |
-
gr.Audio(sources=["microphone", "upload"], type="filepath")
|
18 |
-
device
|
19 |
],
|
20 |
outputs="text",
|
21 |
title="Speech-to-text"
|
@@ -24,8 +23,7 @@ goai_stt = gr.Interface(
|
|
24 |
goai_tts = gr.Interface(
|
25 |
fn=goai_tts.goai_tts,
|
26 |
inputs=[
|
27 |
-
gr.Text(label="Input text")
|
28 |
-
device
|
29 |
],
|
30 |
outputs=[
|
31 |
gr.Audio(label="Generated Audio", type="numpy")
|
|
|
14 |
goai_stt = gr.Interface(
|
15 |
fn = goai_stt.goai_stt,
|
16 |
inputs=[
|
17 |
+
gr.Audio(sources=["microphone", "upload"], type="filepath")
|
|
|
18 |
],
|
19 |
outputs="text",
|
20 |
title="Speech-to-text"
|
|
|
23 |
goai_tts = gr.Interface(
|
24 |
fn=goai_tts.goai_tts,
|
25 |
inputs=[
|
26 |
+
gr.Text(label="Input text")
|
|
|
27 |
],
|
28 |
outputs=[
|
29 |
gr.Audio(label="Generated Audio", type="numpy")
|