Harveenchadha
commited on
Commit
•
4a3505a
1
Parent(s):
6c461f0
Update app.py
Browse files
app.py
CHANGED
@@ -45,5 +45,6 @@ model = Wav2Vec2ForCTC.from_pretrained("Harveenchadha/vakyansh-wav2vec2-hindi-hi
|
|
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",
|
|
|
49 |
analytics_enabled=False, show_tips=False, enable_queue=True).launch(inline=False);
|
|
|
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",
|
49 |
+
streaming=True,
|
50 |
analytics_enabled=False, show_tips=False, enable_queue=True).launch(inline=False);
|