Adding chat_app.py. For some reason its been modified