Spaces:
Configuration error

bhoomee commited on
Commit
bcdc6d0
·
verified ·
1 Parent(s): 86fc1fa

create whisper.py

Browse files
Files changed (1) hide show
  1. whisper.py +7 -0
whisper.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ # Light dummy whisper to make app start - no heavy torch needed
2
+ def load_model(name):
3
+ print(f"Dummy whisper model {name} loaded")
4
+ return None
5
+
6
+ def transcribe(*args, **kwargs):
7
+ return {"text": "audio transcription disabled in light mode"}