Spaces:
Runtime error
Runtime error
rawanahmed
commited on
Commit
•
7e676bf
1
Parent(s):
cbe739c
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):
|