mrmuminov commited on
Commit
77f754c
·
verified ·
1 Parent(s): 2f2bd98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -2,10 +2,8 @@ from transformers import WhisperProcessor, WhisperForConditionalGeneration
2
  import gradio as gr
3
  import torch
4
  import torchaudio
5
- from transformers import pipeline
6
- from transformers.pipelines.audio_utils import ffmpeg_read
7
 
8
- MODEL_NAME = "dataprizma/whisper-large-v3-turbo"
9
 
10
  processor = WhisperProcessor.from_pretrained(MODEL_NAME)
11
  model = WhisperForConditionalGeneration.from_pretrained(MODEL_NAME)
@@ -51,8 +49,8 @@ file_transcribe = gr.Interface(
51
  fn=transcribe,
52
  inputs=gr.Audio(type="filepath", label="Audio file"),
53
  outputs="text",
54
- title="Whisper Large V3: Transcribe Audio",
55
- description="Whisper Large V3 fine-tuned for Uzbek language by Dataprizma",
56
  )
57
 
58
  with demo:
 
2
  import gradio as gr
3
  import torch
4
  import torchaudio
 
 
5
 
6
+ MODEL_NAME = "islomov/navaistt_v1_medium"
7
 
8
  processor = WhisperProcessor.from_pretrained(MODEL_NAME)
9
  model = WhisperForConditionalGeneration.from_pretrained(MODEL_NAME)
 
49
  fn=transcribe,
50
  inputs=gr.Audio(type="filepath", label="Audio file"),
51
  outputs="text",
52
+ title="Navai SST v1 Medium",
53
+ description="Transcribe Uzbek speech to text using Navai SST v1 Medium model. Upload an audio file to get started. Model: https://huggingface.co/islomov/navaistt_v1_medium"
54
  )
55
 
56
  with demo: