Spaces:
Running
Running
import sys | |
from os.path import dirname, abspath | |
# Add the directory of the 'treat' folder to the system path | |
sys.path.append(abspath(dirname(__file__)) + "/treat") | |
# Import the Flask app from the app module | |
from app import app | |
if __name__ == '__main__': | |
# Run the Flask app with debug mode enabled | |
app.run(debug=True) | |