Spaces:
mskov
/
Runtime error

mskov commited on
Commit
be32cc3
·
1 Parent(s): 5e7d6d1

Update streaming.py

Browse files
Files changed (1) hide show
  1. streaming.py +3 -2
streaming.py CHANGED
@@ -1,7 +1,7 @@
1
  from transformers import pipeline
2
  import gradio as gr
3
  import time
4
-
5
  p = pipeline("automatic-speech-recognition")
6
 
7
  def transcribe(audio, state=""):
@@ -20,4 +20,5 @@ gr.Interface(
20
  "textbox",
21
  "state"
22
  ],
23
- live=True).launch()
 
 
1
  from transformers import pipeline
2
  import gradio as gr
3
  import time
4
+ '''
5
  p = pipeline("automatic-speech-recognition")
6
 
7
  def transcribe(audio, state=""):
 
20
  "textbox",
21
  "state"
22
  ],
23
+ live=True).launch()
24
+ '''