diff --git a/app.py b/app.py index 2d72d86..58fbbce 100644 --- a/app.py +++ b/app.py @@ -50,8 +50,9 @@ def index(): def run(): filigramme = request.form['filigramme'] config = load_config() - result = my_function({}, filigramme) + result = traitement(filigramme) # on passe l'argument a la function 'main' du programme return jsonify(result) if __name__ == '__main__': - app.run(debug=True) + app.run(host='0.0.0.0', port=5000, debug=True) +