liuyang commited on
Commit
6dfc92e
·
1 Parent(s): 2d46747

update model

Browse files
Files changed (2) hide show
  1. app.py +2 -0
  2. config.py +1 -1
app.py CHANGED
@@ -286,6 +286,8 @@ class WhisperTranscriber:
286
  os.unlink(wav_path)
287
 
288
  except Exception as e:
 
 
289
  return {"error": f"Processing failed: {str(e)}"}
290
 
291
  # Initialize transcriber
 
286
  os.unlink(wav_path)
287
 
288
  except Exception as e:
289
+ import traceback
290
+ traceback.print_exc()
291
  return {"error": f"Processing failed: {str(e)}"}
292
 
293
  # Initialize transcriber
config.py CHANGED
@@ -1,7 +1,7 @@
1
  # Configuration settings for the Whisper Transcription Space
2
 
3
  # Model configurations
4
- WHISPER_MODEL = "openai/whisper-large-v3-turbo"
5
  DIARIZATION_MODEL = "pyannote/speaker-diarization-3.1"
6
 
7
  # Audio processing settings
 
1
  # Configuration settings for the Whisper Transcription Space
2
 
3
  # Model configurations
4
+ WHISPER_MODEL = "distil-whisper/distil-large-v3"
5
  DIARIZATION_MODEL = "pyannote/speaker-diarization-3.1"
6
 
7
  # Audio processing settings