Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,12 @@
|
|
1 |
import gradio as gr
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
# Initialize tools
|
5 |
text_gen = ArabicTextGenerator()
|
|
|
1 |
import gradio as gr
|
2 |
+
import sys
|
3 |
+
import os
|
4 |
+
|
5 |
+
# Add tools directory to Python path
|
6 |
+
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
|
7 |
+
|
8 |
+
from tools.arabic_generator import ArabicTextGenerator
|
9 |
+
from tools.quran_search import QuranSearchEngine
|
10 |
|
11 |
# Initialize tools
|
12 |
text_gen = ArabicTextGenerator()
|