sr_doo2 / app /run.py
trenden's picture
Upload app/run.py
d9bc3df verified
raw
history blame contribute delete
228 Bytes
import sys
from pathlib import Path
# Add parent directory to PYTHONPATH
sys.path.append(str(Path(__file__).resolve().parent.parent))
from app import ModelAPI
api = ModelAPI(
host = "0.0.0.0",
port = 6500
)
api.run()