FarhadMadadzade
commited on
Commit
•
d14f075
1
Parent(s):
1631b36
weird
Browse files
app.py
CHANGED
@@ -7,6 +7,8 @@ pipe = pipeline("automatic-speech-recognition", model="Artanis1551/whisper_roman
|
|
7 |
|
8 |
def transcribe(audio, state=""):
|
9 |
text = pipe(audio)["text"]
|
|
|
|
|
10 |
state += text + " "
|
11 |
return state, state
|
12 |
|
|
|
7 |
|
8 |
def transcribe(audio, state=""):
|
9 |
text = pipe(audio)["text"]
|
10 |
+
|
11 |
+
print(text)
|
12 |
state += text + " "
|
13 |
return state, state
|
14 |
|