If you are using slackeventsapi python package along with ngrok, then you don't need to add following piece of code-
@app.route('/slack/events', methods=['POST'])
def get_events():
# print(request)
return request.json['challenge']
You app should work fine without above piece of code. I have a similar app in python flask used with ngrok.