File size: 228 Bytes
a8ec082
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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()