Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from transformers import pipeline
|
|
9 |
from arabic_normalizer import ArabicTextNormalizer
|
10 |
|
11 |
# Load dataset
|
12 |
-
common_voice = load_dataset("mozilla-foundation/common_voice_11_0", name = "ar", split = "train")
|
13 |
# select column that will be used
|
14 |
common_voice = common_voice.select_columns(["audio", "sentence"])
|
15 |
|
|
|
9 |
from arabic_normalizer import ArabicTextNormalizer
|
10 |
|
11 |
# Load dataset
|
12 |
+
common_voice = load_dataset("mozilla-foundation/common_voice_11_0",trust_remote_code=True, name = "ar", split = "train")
|
13 |
# select column that will be used
|
14 |
common_voice = common_voice.select_columns(["audio", "sentence"])
|
15 |
|