mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-01 17:39:39 +02:00
git-subtree-dir: ai-context/trustgraph-templates git-subtree-split: 42a5fd1b678f32be378062e30451e2052ccb95dd
18 lines
246 B
Python
18 lines
246 B
Python
|
|
import logging
|
|
|
|
from . api import Api
|
|
|
|
def run_service():
|
|
|
|
logging.basicConfig(
|
|
level=logging.DEBUG,
|
|
format="%(asctime)s %(levelname)s %(message)s"
|
|
)
|
|
|
|
logging.info("Starting...")
|
|
|
|
a = Api(port=8080)
|
|
|
|
a.run()
|
|
|