Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
4d6899e
1
Parent(s):
39b9620
Import spaces module for app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import gradio as gr
|
2 |
from shakkala import Shakkala
|
3 |
from pathlib import Path
|
@@ -6,7 +7,6 @@ from eo_pl import TashkeelModel as TashkeelModelEO
|
|
6 |
from ed_pl import TashkeelModel as TashkeelModelED
|
7 |
from tashkeel_tokenizer import TashkeelTokenizer
|
8 |
from utils import remove_non_arabic
|
9 |
-
import spaces
|
10 |
|
11 |
# Initialize the Shakkala model
|
12 |
sh = Shakkala(version=3)
|
|
|
1 |
+
import spaces
|
2 |
import gradio as gr
|
3 |
from shakkala import Shakkala
|
4 |
from pathlib import Path
|
|
|
7 |
from ed_pl import TashkeelModel as TashkeelModelED
|
8 |
from tashkeel_tokenizer import TashkeelTokenizer
|
9 |
from utils import remove_non_arabic
|
|
|
10 |
|
11 |
# Initialize the Shakkala model
|
12 |
sh = Shakkala(version=3)
|