Spaces:
Sleeping
Sleeping
divakaivan
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,10 @@
|
|
1 |
-
from transformers import pipeline, GPT2LMHeadModel, GPT2Tokenizer
|
2 |
import gradio as gr
|
3 |
import torch
|
4 |
import numpy as np
|
5 |
from datasets import load_dataset, Audio
|
|
|
|
|
6 |
|
7 |
# Load ASR model
|
8 |
asr_pipe = pipeline(model="divakaivan/glaswegian-asr")
|
|
|
1 |
+
from transformers import pipeline, GPT2LMHeadModel, GPT2Tokenizer, SpeechT5Processor, SpeechT5ForTextToSpeech, SpeechT5HifiGan
|
2 |
import gradio as gr
|
3 |
import torch
|
4 |
import numpy as np
|
5 |
from datasets import load_dataset, Audio
|
6 |
+
from transformers import pipeline
|
7 |
+
import librosa
|
8 |
|
9 |
# Load ASR model
|
10 |
asr_pipe = pipeline(model="divakaivan/glaswegian-asr")
|