Skip to content

Commit

Permalink
fix: import
Browse files Browse the repository at this point in the history
  • Loading branch information
vivian0304 committed Aug 11, 2022
1 parent 853ea0b commit c0d79dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from flask_restx import Api
from db.db_connection import db_connection
from prometheus_flask_exporter import PrometheusMetrics
from apis import BlockCharacter, OriginVideo, ProccessedVideo, User, WhitelistFace

app = Flask(__name__)
# app.config['MAX_CONTENT_LENGTH'] = 16 * 1024 * 1024 # 용량제한
Expand All @@ -25,7 +26,7 @@
license="MIT",
prefix='/api/v1'
)
from apis import BlockCharacter, OriginVideo, ProccessedVideo, User, WhitelistFace

api.add_namespace(User.Users, '/users')
api.add_namespace(User.Auth, '/auth')
api.add_namespace(WhitelistFace.WhitelistFaces, '/whitelist-faces')
Expand Down

0 comments on commit c0d79dd

Please sign in to comment.