Update 'Events/src/myproject2.py'

This commit is contained in:
2024-01-11 10:50:31 +00:00
rodzic fec716a305
commit 3eac9a5f03
+2 -2
Wyświetl plik
@@ -8,8 +8,8 @@ import cv2
app = Flask(__name__) app = Flask(__name__)
app.config["IMAGE_UPLOADS"] = "C:/Users/Bizgaze/PycharmProjects/face_recogniction/People" app.config["IMAGE_UPLOADS"] = "C:/Users/Bizgaze/PycharmProjects/face_recogniction/People"
datasetPath = "/opt/bizgaze/events.bizgaze.app/wwwroot/_files/1/Gallery/" #datasetPath = "/opt/bizgaze/events.bizgaze.app/wwwroot/_files/1/Gallery/"
peoplePath = "/opt/bizgaze/events.bizgaze.app/wwwroot/_files/People/" #peoplePath = "/opt/bizgaze/events.bizgaze.app/wwwroot/_files/People/"
@app.route('/', methods=['GET']) @app.route('/', methods=['GET'])
def home(): def home():
return render_template('index.html') return render_template('index.html')