Перемещение исходников в директорию src
This commit is contained in:
parent
b7c7f8e066
commit
52335870fd
4
.vscode/launch.json
vendored
4
.vscode/launch.json
vendored
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
|
||||||
// Use IntelliSense to learn about possible attributes.
|
// Use IntelliSense to learn about possible attributes.
|
||||||
// Hover to view descriptions of existing attributes.
|
// Hover to view descriptions of existing attributes.
|
||||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
@ -11,7 +11,7 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"module": "flask",
|
"module": "flask",
|
||||||
"env": {
|
"env": {
|
||||||
"FLASK_APP": "webApp.py",
|
"FLASK_APP": "src/webApp.py",
|
||||||
"FLASK_DEBUG": "1"
|
"FLASK_DEBUG": "1"
|
||||||
},
|
},
|
||||||
"args": ["run", "--no-debugger", "--no-reload"]
|
"args": ["run", "--no-debugger", "--no-reload"]
|
||||||
|
@ -5,7 +5,7 @@ import numpy
|
|||||||
from imageWorking import get_image_buf_as_array
|
from imageWorking import get_image_buf_as_array
|
||||||
from main import analyze_base
|
from main import analyze_base
|
||||||
|
|
||||||
app = Flask(__name__, static_url_path = "/")
|
app = Flask(__name__, static_folder = "../static", static_url_path = "/")
|
||||||
|
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
def main():
|
def main():
|
Loading…
Reference in New Issue
Block a user