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():