removing dash code for separation

This commit is contained in:
2026-07-26 10:54:41 +01:00
parent 33cbc5c6ed
commit 1ad828a2b9
9 changed files with 26 additions and 553 deletions
+2 -2
View File
@@ -62,8 +62,8 @@ if __name__ == '__main__':
# Check if the data was successfully created
data_exists = os.path.exists('data/processed') and os.listdir('data/processed')
if data_exists:
from dash_app import app
app.run() # debug=True
logger.info('Processing Successful')
sys.exit(ec.SUCCESS)
else:
logger.error('Data pipeline did not produce any data. Dash app will not run.')
sys.exit(ec.NO_DATA_PRODUCED)