Spaces:
Runtime error
Runtime error
Commit
·
55c2266
1
Parent(s):
6d9b516
test
Browse files- app.py +2 -2
- requirements.txt +1 -1
app.py
CHANGED
@@ -2,8 +2,8 @@ import gradio as gr
|
|
2 |
from transformers import pipeline
|
3 |
import numpy as np
|
4 |
|
5 |
-
|
6 |
-
transcriber = pipeline("automatic-speech-recognition", model="openai/whisper-small.en")
|
7 |
|
8 |
|
9 |
def transcribe(audio):
|
|
|
2 |
from transformers import pipeline
|
3 |
import numpy as np
|
4 |
|
5 |
+
transcriber = pipeline("automatic-speech-recognition", model="filipzawadka/whisper-small-pl-2")
|
6 |
+
#transcriber = pipeline("automatic-speech-recognition", model="openai/whisper-small.en")
|
7 |
|
8 |
|
9 |
def transcribe(audio):
|
requirements.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
transformers
|
|
|
1 |
+
git+https://github.com/huggingface/transformers
|