Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,7 @@ from datetime import datetime
|
|
6 |
import os
|
7 |
# Speech to text model and question-answering model
|
8 |
s2t_model = "openai/whisper-base.en"
|
|
|
9 |
qa_model = 'distilbert/distilbert-base-cased-distilled-squad'
|
10 |
|
11 |
transcriber = pipeline('automatic-speech-recognition', model=s2t_model)
|
|
|
6 |
import os
|
7 |
# Speech to text model and question-answering model
|
8 |
s2t_model = "openai/whisper-base.en"
|
9 |
+
|
10 |
qa_model = 'distilbert/distilbert-base-cased-distilled-squad'
|
11 |
|
12 |
transcriber = pipeline('automatic-speech-recognition', model=s2t_model)
|