khalidey commited on
Commit
9417b92
1 Parent(s): 36c60a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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='gpt2')
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"]