Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ from transformers import pipeline
|
|
2 |
import gradio as gr
|
3 |
|
4 |
pipe1 = pipeline(model="khalidey/ID2223_Lab2_Whisper_SV") # change to "your-username/the-name-you-picked"
|
5 |
-
pipe2 = pipeline('text-generation', model='
|
6 |
|
7 |
def transcribe(audio):
|
8 |
text = pipe1(audio)["text"]
|
|
|
2 |
import gradio as gr
|
3 |
|
4 |
pipe1 = pipeline(model="khalidey/ID2223_Lab2_Whisper_SV") # change to "your-username/the-name-you-picked"
|
5 |
+
pipe2 = pipeline('text-generation', model='birgermoell/swedish-gpt')
|
6 |
|
7 |
def transcribe(audio):
|
8 |
text = pipe1(audio)["text"]
|