akki2825 commited on
Commit
6cb326f
1 Parent(s): 26f728c

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +2 -1
run.py CHANGED
@@ -46,7 +46,8 @@ def transcribe(audio_file):
46
  demo = gr.Interface(
47
  transcribe,
48
  # [gr.Audio(source="microphone", streaming=True), "state"],
49
- gr.Audio(label="Upload Audio File", source="upload", type="filepath")
 
50
  )
51
 
52
  if __name__ == "__main__":
 
46
  demo = gr.Interface(
47
  transcribe,
48
  # [gr.Audio(source="microphone", streaming=True), "state"],
49
+ gr.Audio(label="Upload Audio File", source="upload", type="filepath"),
50
+ outputs=gr.Textbox(label="Transcript")
51
  )
52
 
53
  if __name__ == "__main__":