forked from serengil/deepface
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request serengil#1246 from serengil/feat-task-0206-cosmeti…
…c-changes-for-docker Feat task 0206 cosmetic changes for docker
- Loading branch information
Showing
5 changed files
with
13 additions
and
5 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
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,8 +1,14 @@ | ||
# 3rd parth dependencies | ||
from flask import Flask | ||
from deepface import DeepFace | ||
from deepface.api.src.modules.core.routes import blueprint | ||
from deepface.commons import logger as log | ||
|
||
logger = log.get_singletonish_logger() | ||
|
||
|
||
def create_app(): | ||
app = Flask(__name__) | ||
app.register_blueprint(blueprint) | ||
logger.info(f"Welcome to DeepFace API v{DeepFace.__version__}!") | ||
return app |
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
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
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