Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def display_df_as_table(model,top_k,score='score'):
|
|
35 |
#load ASR model
|
36 |
def asr(audio):
|
37 |
|
38 |
-
asr_model = whisper.load_model("
|
39 |
results = asr_model.transcribe(audio)
|
40 |
query = results['text']
|
41 |
|
|
|
35 |
#load ASR model
|
36 |
def asr(audio):
|
37 |
|
38 |
+
asr_model = whisper.load_model("small")
|
39 |
results = asr_model.transcribe(audio)
|
40 |
query = results['text']
|
41 |
|