Spaces:
Runtime error
Runtime error
anyantudre
commited on
Commit
•
41effa6
1
Parent(s):
0cee4db
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ goai_stt = gr.Interface(
|
|
15 |
fn = goai_stt.goai_stt,
|
16 |
inputs=[
|
17 |
gr.Audio(sources=["microphone", "upload"], type="filepath"),
|
18 |
-
|
19 |
],
|
20 |
outputs="text",
|
21 |
title="Speech-to-text"
|
@@ -25,7 +25,7 @@ goai_tts = gr.Interface(
|
|
25 |
fn=goai_tts.goai_tts,
|
26 |
inputs=[
|
27 |
gr.Text(label="Input text"),
|
28 |
-
|
29 |
],
|
30 |
outputs=[
|
31 |
gr.Audio(label="Generated Audio", type="numpy")
|
|
|
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"
|
|
|
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")
|