rafaaa2105 commited on
Commit
6118644
·
verified ·
1 Parent(s): a7535be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -14,8 +14,7 @@ from whisper import load_model, transcribe
14
  def transcribe_audio(zip_file, progress = gr.Progress(track_tqdm= True)):
15
  model_path = hf_hub_download(repo_id="distil-whisper/distil-large-v3-openai", filename="model.bin")
16
  model = load_model(model_path)
17
-
18
- dataset = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation", trust_remote_code=True)
19
 
20
  # Create a temporary directory to extract the ZIP file
21
  with tempfile.TemporaryDirectory() as temp_dir:
 
14
  def transcribe_audio(zip_file, progress = gr.Progress(track_tqdm= True)):
15
  model_path = hf_hub_download(repo_id="distil-whisper/distil-large-v3-openai", filename="model.bin")
16
  model = load_model(model_path)
17
+
 
18
 
19
  # Create a temporary directory to extract the ZIP file
20
  with tempfile.TemporaryDirectory() as temp_dir: