Добавление веб-версии сервиса #5
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@ -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"]
|
||||
|
@ -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():
|
Loading…
Reference in New Issue
Block a user