Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ print("Running on CPU")
|
|
8 |
|
9 |
# Load the Whisper model on CPU
|
10 |
model_name = "tiny" # Change to "base", "small", etc., as needed
|
11 |
-
whisper_model = whisper.load_model(
|
12 |
|
13 |
# Define the transcription function
|
14 |
def transcribe(audio):
|
|
|
8 |
|
9 |
# Load the Whisper model on CPU
|
10 |
model_name = "tiny" # Change to "base", "small", etc., as needed
|
11 |
+
whisper_model = whisper.load_model("tiny")
|
12 |
|
13 |
# Define the transcription function
|
14 |
def transcribe(audio):
|