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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file ai_service_wrapper-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_service_wrapper-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 f30cca447f545c3f35b80407edc0c1e5573b156565bd74af1d582cfdef41fd38
MD5 508c6fc0dcf7346c39fb2c563c2210fd
BLAKE2b-256 6a27a3968a61e5e37456ce9f605cded26a87f263d800e1905334b8f5cbe5c04e

See more details on using hashes here.

Supported by

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