anyantudre commited on
Commit
41effa6
1 Parent(s): 0cee4db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- #gr.Dropdown(language_list, label="Language")
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
- #gr.Dropdown(language_list, label="Language")
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")