aidn commited on
Commit
f1ff679
·
verified ·
1 Parent(s): a5cc652

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -10,9 +10,9 @@ HF_TOKEN = os.environ.get("HF_TOKEN", "")
10
  WHISPER_SR = 16_000 # Whisper erwartet immer 16 kHz
11
 
12
  ASR_MODELS = {
13
- "whisper-small (gut, schnell)": "openai/whisper-small",
14
- "whisper-large-v3 (beste Qualität)": "openai/whisper-large-v3",
15
- "distil-whisper-large-v3 (empfohlen)": "distil-whisper/distil-large-v3",
16
  }
17
 
18
  _asr_cache: dict = {} # model_id → (processor, model)
@@ -257,7 +257,7 @@ with gr.Blocks(title="🎙️ YAPPER · ZeroGPU Edition") as demo:
257
  )
258
  model_dd = gr.Dropdown(
259
  choices=list(ASR_MODELS.keys()),
260
- value="distil-whisper-large-v3 (empfohlen)",
261
  label="Transkriptionsmodell",
262
  )
263
  lang_dd = gr.Dropdown(
 
10
  WHISPER_SR = 16_000 # Whisper erwartet immer 16 kHz
11
 
12
  ASR_MODELS = {
13
+ "whisper-small (schnell)": "openai/whisper-small",
14
+ "whisper-medium": "openai/whisper-medium",
15
+ "whisper-large-v3 (empfohlen)": "openai/whisper-large-v3",
16
  }
17
 
18
  _asr_cache: dict = {} # model_id → (processor, model)
 
257
  )
258
  model_dd = gr.Dropdown(
259
  choices=list(ASR_MODELS.keys()),
260
+ value="whisper-large-v3 (empfohlen)",
261
  label="Transkriptionsmodell",
262
  )
263
  lang_dd = gr.Dropdown(