akki2825 commited on
Commit
6e87384
1 Parent(s): 623b52f

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +2 -1
run.py CHANGED
@@ -48,7 +48,8 @@ def transcribe(speech, stream):
48
 
49
  demo = gr.Interface(
50
  transcribe,
51
- [gr.Audio(source="microphone", streaming=True), "state"],
 
52
  ["text", "state"],
53
  live=True,
54
  )
 
48
 
49
  demo = gr.Interface(
50
  transcribe,
51
+ # [gr.Audio(source="microphone", streaming=True), "state"],
52
+ [gr.Audio(label="Upload Audio File", source="upload", type="filepath")],
53
  ["text", "state"],
54
  live=True,
55
  )