-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing import + model load on server start
- Loading branch information
1 parent
ad7fff0
commit 966f749
Showing
2 changed files
with
28 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
import os | ||
from flask import Flask | ||
from poget.config import configuration as cfg | ||
|
||
app = Flask(__name__) | ||
|
||
from poget.analytics.ml.terminal_traffic import TerminalTraffic | ||
|
||
terminal_traffic = TerminalTraffic() | ||
from poget.analytics.ml.logistic_regression import LogisticRegression | ||
|
||
from . import routes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters