starting to implement callbacks

This commit is contained in:
Jake
2025-04-05 11:49:15 +01:00
parent b573b3b9bc
commit c9c287aa8a
4 changed files with 190 additions and 175 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ 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:
app.run() # debug=True
app.run(debug=True)
else:
logging.error('Data pipeline did not produce any data. Dash app will not run.')
sys.exit(ec.NO_DATA_PRODUCED)