Live graph returning an output: min() is an empty sequence, I have embedded dash app inside flask

I tried live streaming the sentiments of tweets from twitter database, using dash app. I embedded it in a flask app for adding certain additional features to the app. However I end up with an error in the graphing page: min() is an empty sequence.