Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,9 +16,11 @@ pipe = pipeline(model="thak123/gom-stt-v3", #"thak123/whisper-small-LDC-V1", #"t
|
|
16 |
# )
|
17 |
|
18 |
def transcribe(audio):
|
19 |
-
text = pipe(audio)["text"]
|
20 |
-
pipe(audio)
|
21 |
-
|
|
|
|
|
22 |
|
23 |
iface = gr.Interface(
|
24 |
fn=transcribe,
|
|
|
16 |
# )
|
17 |
|
18 |
def transcribe(audio):
|
19 |
+
# text = pipe(audio)["text"]
|
20 |
+
# pipe(audio)
|
21 |
+
text = pipe(audio)
|
22 |
+
print("op",text)
|
23 |
+
return text#pipe(audio) #text
|
24 |
|
25 |
iface = gr.Interface(
|
26 |
fn=transcribe,
|