This commit is contained in:
Andreas Knuth 2025-01-25 14:00:51 +01:00
parent a569b9a1ab
commit e80ff12242
3 changed files with 4 additions and 7 deletions

1
.python-version Normal file
View File

@ -0,0 +1 @@
3.12

View File

@ -10,8 +10,6 @@ import logging
import os
import uuid
import datetime
from app_factory import app
# from deck_endpoints import deck_bp # Importieren des Blueprints
logging.basicConfig(
level=logging.DEBUG,
@ -19,8 +17,7 @@ logging.basicConfig(
)
logger = logging.getLogger(__name__)
# app = Flask(__name__)
# app.register_blueprint(deck_bp) # Registrieren des Blueprints
app = Flask(__name__)
def get_dir_name():
timestamp = datetime.datetime.now().strftime('%Y%m%d_%H%M%S')
@ -264,4 +261,4 @@ def get_debug_image(name, filename):
if __name__ == '__main__':
app.run(host='0.0.0.0', port=5000, debug=True)
app.run(host='0.0.0.0', port=5000, debug=False)

View File

@ -4,5 +4,4 @@ pillow>=10.0.0
numpy>=1.24.4,<2.0.0
opencv-python==4.6.0.66
paddlepaddle==2.6.2
werkzeug<2.3
SQLAlchemy==2.0.20
werkzeug<2.3