Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import torch
|
|
4 |
from transformers import SpeechT5ForSpeechToText, SpeechT5Processor
|
5 |
|
6 |
# Load the English subset of the VoxPopuli dataset
|
7 |
-
dataset = load_dataset("voxpopuli", "en")
|
8 |
|
9 |
# Example function to load audio and transcriptions
|
10 |
def get_sample(dataset):
|
|
|
4 |
from transformers import SpeechT5ForSpeechToText, SpeechT5Processor
|
5 |
|
6 |
# Load the English subset of the VoxPopuli dataset
|
7 |
+
dataset = load_dataset("facebook/voxpopuli", "en")
|
8 |
|
9 |
# Example function to load audio and transcriptions
|
10 |
def get_sample(dataset):
|