from ipy import app
from flask import request, jsonify
from flask_limiter.util import get_remote_address


@app.route('/', methods=['GET'])
def get_ip():
    format = request.args.get('format', None)
    ip = get_remote_address()
    if format == 'json':
        ip = jsonify(ip=ip)
    return ip


if __name__ == '__main__':
    app.run()

@@ -294,47 +294,4 @@
  ip%0A
-%0A%0Aif __name__ == '__main__':%0A    app.run()%0A

Remove debugging