Spaces:
Runtime error
Runtime error
mohamedabdullah
commited on
Commit
•
ea816ea
1
Parent(s):
28ba0c3
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from datasets import load_dataset
|
3 |
import re
|
|
|
4 |
|
5 |
dataset = load_dataset("mohamedabdullah/Arabic-unique-words", data_files="ar_vocab.txt")
|
6 |
word_l = re.findall('[^a-zA-Z0-9\s\W]{2,25}', dataset['train']['text'][0])
|
|
|
1 |
import gradio as gr
|
2 |
from datasets import load_dataset
|
3 |
import re
|
4 |
+
import numpy as np
|
5 |
|
6 |
dataset = load_dataset("mohamedabdullah/Arabic-unique-words", data_files="ar_vocab.txt")
|
7 |
word_l = re.findall('[^a-zA-Z0-9\s\W]{2,25}', dataset['train']['text'][0])
|