Update streaming.py
Browse files- 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 |
+
'''
|