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.7-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for ai_service_wrapper-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 262898c66827382b305e71db01c0981cb1d89ab012c9825689390bb2e241c486
MD5 a480c73c2df7918ce2f7bf980f701eab
BLAKE2b-256 6378f8d663528314bf1101a5aaafd0d35fbb7e5dfab546ac4c122c7b75fea7db

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