Imane Momayiz
commited on
Commit
·
f249f4d
1
Parent(s):
2ce121b
fix: load data config name
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ submissions_repo = Repository(
|
|
18 |
)
|
19 |
|
20 |
def load_data(repo_id):
|
21 |
-
dataset = load_dataset(f'{repo_id}', name='sentences')
|
22 |
return dataset
|
23 |
|
24 |
def fetch_sentence(dataset, column_name="darija_ar"):
|
|
|
18 |
)
|
19 |
|
20 |
def load_data(repo_id):
|
21 |
+
dataset = load_dataset(f'{repo_id}', name='sentences', split='sentences')
|
22 |
return dataset
|
23 |
|
24 |
def fetch_sentence(dataset, column_name="darija_ar"):
|