Harveenchadha commited on
Commit
db99e54
·
1 Parent(s): 0de7587

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ model = Wav2Vec2ForCTC.from_pretrained("Harveenchadha/vakyansh-wav2vec2-hindi-hi
42
 
43
 
44
 
45
- input_ = gr.inputs.Audio(source="microphone", type="file")
46
  #input_ = gr.inputs.Audio(source="microphone", type="numpy")
47
 
48
  gr.Interface(parse_transcription, inputs = input_, outputs="text",
 
42
 
43
 
44
 
45
+ input_ = gr.inputs.Audio(source="microphone", type="filepath")
46
  #input_ = gr.inputs.Audio(source="microphone", type="numpy")
47
 
48
  gr.Interface(parse_transcription, inputs = input_, outputs="text",