evilid commited on
Commit
622408f
·
verified ·
1 Parent(s): af78cda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -1,13 +1,11 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
- print("Загрузка модели...")
5
  pipe = pipeline(
6
  "automatic-speech-recognition",
7
  model="Drahokma/whisper-large-v3-kz",
8
  device="cpu"
9
  )
10
- print("Модель загружена!")
11
 
12
  def transcribe(audio_path):
13
  if audio_path is None:
 
1
  import gradio as gr
2
  from transformers import pipeline
3
 
 
4
  pipe = pipeline(
5
  "automatic-speech-recognition",
6
  model="Drahokma/whisper-large-v3-kz",
7
  device="cpu"
8
  )
 
9
 
10
  def transcribe(audio_path):
11
  if audio_path is None: