raoufjat commited on
Commit
d7671ef
1 Parent(s): 655616c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from datasets import load_dataset
4
 
5
 
6
  # Load the dataset
7
- dataset = load_dataset("MohamedRashad/arabic-books")
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'])