Spaces:
Runtime error
Runtime error
OmarElSayed
commited on
Commit
·
b27d547
1
Parent(s):
559e876
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,9 +4,9 @@ import gradio as gr
|
|
| 4 |
import re
|
| 5 |
|
| 6 |
|
| 7 |
-
dataset = pd.read_excel('
|
| 8 |
dataset.rename(columns={'ArabicText': 'text'}, inplace=True)
|
| 9 |
-
nlp = spacy.load('
|
| 10 |
all_docs = [nlp(doc) for doc in dataset['text']]
|
| 11 |
|
| 12 |
def clean_text(text):
|
|
|
|
| 4 |
import re
|
| 5 |
|
| 6 |
|
| 7 |
+
dataset = pd.read_excel('Dataset-Verse-by-Verse.xlsx')
|
| 8 |
dataset.rename(columns={'ArabicText': 'text'}, inplace=True)
|
| 9 |
+
nlp = spacy.load('aravec_model')
|
| 10 |
all_docs = [nlp(doc) for doc in dataset['text']]
|
| 11 |
|
| 12 |
def clean_text(text):
|