Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from transformers import pipeline
|
|
| 6 |
|
| 7 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|
| 8 |
|
| 9 |
-
pipe = pipeline(model="
|
| 10 |
|
| 11 |
def transcribe(audio):
|
| 12 |
text = pipe(audio)["text"]
|
|
|
|
| 6 |
|
| 7 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|
| 8 |
|
| 9 |
+
pipe = pipeline(model="Ussen/whisper-medium-swc-drc-kat-1")
|
| 10 |
|
| 11 |
def transcribe(audio):
|
| 12 |
text = pipe(audio)["text"]
|