Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from datasets import load_dataset
|
|
4 |
|
5 |
|
6 |
# Load the dataset
|
7 |
-
dataset = load_dataset("
|
8 |
def filter_arabic_novels():
|
9 |
# Select only rows containing novel-like words
|
10 |
filtered_data = dataset['train'].filter(lambda x: "رواية" in x['text'])
|
|
|
4 |
|
5 |
|
6 |
# Load the dataset
|
7 |
+
dataset = load_dataset("mohres/The_Arabic_E-Book_Corpus")
|
8 |
def filter_arabic_novels():
|
9 |
# Select only rows containing novel-like words
|
10 |
filtered_data = dataset['train'].filter(lambda x: "رواية" in x['text'])
|