Flask was imported twice in app.py