From 328af05f63dde445230a4be01c5f7790440f6242 Mon Sep 17 00:00:00 2001 From: Jack H Date: Thu, 14 Nov 2024 22:07:57 -0600 Subject: [PATCH] Update app.py move patch --- app.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 305ef7c..1f0632a 100644 --- a/app.py +++ b/app.py @@ -1,3 +1,6 @@ +import eventlet + +eventlet.monkey_patch() import os import cv2 import numpy as np @@ -5,9 +8,7 @@ from flask import Flask, request, render_template, redirect, url_for, send_from_directory from flask_socketio import SocketIO, emit import heapq -import eventlet -eventlet.monkey_patch() # Initialize Flask app app = Flask(__name__)