anyantudre commited on
Commit
6ffc425
·
verified ·
1 Parent(s): 4a8c30f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
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")