Skip to content

Commit af8e473

Browse files
Preparing lightGBM switch
1 parent 6c1a47c commit af8e473

File tree

3 files changed

+92
-29
lines changed

3 files changed

+92
-29
lines changed

.vscode/launch.json

+20-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"version": "1.0.0",
66
"configurations": [
77
{
8-
"name": "Debug Flask App",
8+
"name": "Debug Flask App (Docker)",
99
"type": "docker",
1010
"request": "launch",
1111
"preLaunchTask": "docker-run: debug",
@@ -22,7 +22,24 @@
2222
"action": "openExternally",
2323
"pattern": "Running on (http?://\\S+|[0-9]+)",
2424
"uriFormat": "%s://localhost:%s/"
25-
}
26-
}
25+
},
26+
},
27+
{
28+
"name": "Debug Flask App (Linux)",
29+
"type": "python",
30+
"request": "launch",
31+
"module": "flask",
32+
"env": {
33+
"FLASK_APP": "ehroes.py",
34+
"FLASK_ENV": "development",
35+
"FLASK_DEBUG": "0"
36+
},
37+
"args": [
38+
"run",
39+
"--no-debugger",
40+
"--no-reload"
41+
],
42+
"jinja": true
43+
},
2744
]
2845
}

poetry.lock

+71-26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ PyJWT = "^2.3.0"
4444
en_core_web_sm = { url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.2.0/en_core_web_sm-3.2.0-py3-none-any.whl" }
4545
fr_core_news_sm = { url = "https://github.com/explosion/spacy-models/releases/download/fr_core_news_sm-3.2.0/fr_core_news_sm-3.2.0-py3-none-any.whl" }
4646
Flask-Cors = "^3.0.10"
47+
lightgbm = "^3.3.2"
4748

4849
[tool.poetry.dev-dependencies]
4950
black = {extras = ["jupyter"], version = "*"}

0 commit comments

Comments
 (0)