thak123 commited on
Commit
cf79af4
·
verified ·
1 Parent(s): 5a1e7b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
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
- return pipe(audio) #text
 
 
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,