Batnini commited on
Commit
d58857b
·
verified ·
1 Parent(s): aec0277

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -1,5 +1,12 @@
1
  import gradio as gr
2
- from tools import ArabicTextGenerator, QuranSearchEngine
 
 
 
 
 
 
 
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()