diff --git a/README.md b/README.md index 75ea928..8d9dc64 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,11 @@ git clone [URL des Repositories] cd [Projektverzeichnis] pip install -r requirements.txt ``` + +Bei pip install mariadb Fehler: +sudo apt-get install -y libmariadb-dev +pip install mariadb + ## Nutzung `config.example.py` anpassen und dann in config.py umbennenen diff --git a/flask_server.py b/flask_server.py index 7f42c50..26fd1f4 100644 --- a/flask_server.py +++ b/flask_server.py @@ -167,7 +167,7 @@ def flask_gesamtlast(): print(last) return jsonify(last.tolist()) - + @app.route('/gesamtlast_simple', methods=['GET']) def flask_gesamtlast_simple(): if request.method == 'GET': diff --git a/requirements.txt b/requirements.txt index cbccbbc..634ab69 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ +python 3.12 flask numpy requests @@ -5,5 +6,8 @@ pytz matplotlib deap scipy -sklearn -pandas \ No newline at end of file +scikit-learn +pandas +tensorflow +joblib1.4.0 +mariadb \ No newline at end of file