From 52335870fdffd79535e8d70922ec00a0f013f672 Mon Sep 17 00:00:00 2001 From: Vladislav Moiseev Date: Fri, 7 Jul 2023 22:14:30 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=BC=D0=B5=D1=89?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B8=D1=81=D1=85=D0=BE=D0=B4=D0=BD?= =?UTF-8?q?=D0=B8=D0=BA=D0=BE=D0=B2=20=D0=B2=20=D0=B4=D0=B8=D1=80=D0=B5?= =?UTF-8?q?=D0=BA=D1=82=D0=BE=D1=80=D0=B8=D1=8E=20src?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/launch.json | 4 ++-- imageWorking.py => src/imageWorking.py | 0 main.py => src/main.py | 0 neuralNetwork.py => src/neuralNetwork.py | 0 ontologyWorking.py => src/ontologyWorking.py | 0 webApp.py => src/webApp.py | 2 +- 6 files changed, 3 insertions(+), 3 deletions(-) rename imageWorking.py => src/imageWorking.py (100%) rename main.py => src/main.py (100%) rename neuralNetwork.py => src/neuralNetwork.py (100%) rename ontologyWorking.py => src/ontologyWorking.py (100%) rename webApp.py => src/webApp.py (95%) diff --git a/.vscode/launch.json b/.vscode/launch.json index 657cb3b..37437b4 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,5 +1,5 @@ { - + // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 @@ -11,7 +11,7 @@ "request": "launch", "module": "flask", "env": { - "FLASK_APP": "webApp.py", + "FLASK_APP": "src/webApp.py", "FLASK_DEBUG": "1" }, "args": ["run", "--no-debugger", "--no-reload"] diff --git a/imageWorking.py b/src/imageWorking.py similarity index 100% rename from imageWorking.py rename to src/imageWorking.py diff --git a/main.py b/src/main.py similarity index 100% rename from main.py rename to src/main.py diff --git a/neuralNetwork.py b/src/neuralNetwork.py similarity index 100% rename from neuralNetwork.py rename to src/neuralNetwork.py diff --git a/ontologyWorking.py b/src/ontologyWorking.py similarity index 100% rename from ontologyWorking.py rename to src/ontologyWorking.py diff --git a/webApp.py b/src/webApp.py similarity index 95% rename from webApp.py rename to src/webApp.py index df763ee..45e47cc 100644 --- a/webApp.py +++ b/src/webApp.py @@ -5,7 +5,7 @@ import numpy from imageWorking import get_image_buf_as_array from main import analyze_base -app = Flask(__name__, static_url_path = "/") +app = Flask(__name__, static_folder = "../static", static_url_path = "/") @app.route("/") def main():