Mattral's picture
Update app.py
a6259d7 verified
raw
history blame
301 Bytes
import os
import sys
# Add the 'app' directory to sys.path
app_dir = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'app')
if app_dir not in sys.path:
sys.path.append(app_dir)
# Import and run FinalApp.py
import FinalApp
FinalApp.main() # Call the main function directly if defined