starting to implement callbacks
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user