Ar4ikov commited on
Commit
e97bd36
1 Parent(s): feec576

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,7 +9,7 @@ emo = EmotionFromVoice()
9
 
10
 
11
  def transcribe(audio):
12
- return os.listdir("/tmp")
13
 
14
  def get_asr_interface():
15
  return gr.Interface(
@@ -18,7 +18,7 @@ def get_asr_interface():
18
  gr.inputs.Audio(source="microphone", type="filepath")
19
  ],
20
  outputs=[
21
- "textbox",
22
  ])
23
 
24
  interfaces = [
 
9
 
10
 
11
  def transcribe(audio):
12
+ return audio
13
 
14
  def get_asr_interface():
15
  return gr.Interface(
 
18
  gr.inputs.Audio(source="microphone", type="filepath")
19
  ],
20
  outputs=[
21
+ gr.Audio()
22
  ])
23
 
24
  interfaces = [