Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ processor_with_LM = Wav2Vec2ProcessorWithLM.from_pretrained(model_id)
|
|
52 |
model = Wav2Vec2ForCTC.from_pretrained(model_id)
|
53 |
|
54 |
|
55 |
-
input_ = gr.Audio(source="
|
56 |
txtbox = gr.Textbox(
|
57 |
label="Output from model will appear here:",
|
58 |
lines=5
|
|
|
52 |
model = Wav2Vec2ForCTC.from_pretrained(model_id)
|
53 |
|
54 |
|
55 |
+
input_ = gr.Audio(source="microphone", type="filepath")
|
56 |
txtbox = gr.Textbox(
|
57 |
label="Output from model will appear here:",
|
58 |
lines=5
|