Skip to main content

update lifetime for api signature

Project description

BE-Base-Python

Implement

from flask import Flask
from config import config
from ai_service_wrapper import AiServiceWrapper

def create_app():

    app = Flask(__name__)
    app.config.update(config)
    AiServiceWrapper(app)

    return app

if __name__ == "__main__":
    app = create_app()
    app.run("0.0.0.0", 8000, debug=True)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ai_service_wrapper-0.0.8-py3-none-any.whl (14.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page