Spaces:
Runtime error
Runtime error
torileatherman
commited on
Commit
·
c035be9
1
Parent(s):
846cf91
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ TARGET_LANG = "EN-GB"
|
|
8 |
deepl_key = os.environ.get('DEEPL_KEY')
|
9 |
|
10 |
translator = deepl.Translator(deepl_key)
|
11 |
-
pipe = pipeline(model="torileatherman/
|
12 |
|
13 |
def transcribe(audio):
|
14 |
text_sv = pipe(audio)["text"]
|
|
|
8 |
deepl_key = os.environ.get('DEEPL_KEY')
|
9 |
|
10 |
translator = deepl.Translator(deepl_key)
|
11 |
+
pipe = pipeline(model="torileatherman/whisper_small_sv") # change to "your-username/the-name-you-picked"
|
12 |
|
13 |
def transcribe(audio):
|
14 |
text_sv = pipe(audio)["text"]
|