nimool commited on
Commit
787c99c
1 Parent(s): 7fdae23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ model_id = "SeyedAli/Persian-Speech-Transcription-Wav2Vec2-V1"
40
  processor = Wav2Vec2Processor.from_pretrained(model_id)
41
  model = Wav2Vec2ForCTC.from_pretrained(model_id)
42
 
43
- input_ = gr.Audio(source="microphone", type="filepath")
44
  txtbox = gr.Textbox(
45
  label="persian text output:",
46
  lines=5
 
40
  processor = Wav2Vec2Processor.from_pretrained(model_id)
41
  model = Wav2Vec2ForCTC.from_pretrained(model_id)
42
 
43
+ input_ = gr.Audio()
44
  txtbox = gr.Textbox(
45
  label="persian text output:",
46
  lines=5