File size: 203 Bytes
f0788cb
8c2281d
f0788cb
 
8c2281d
f0788cb
 
 
 
1
2
3
4
5
6
7
8
9
from llama_cpp.server.app import create_app, Settings
import tomli

with open("config.toml", "rb") as f:
    settings = tomli.load(f)

settings = Settings(**settings)

app = create_app(settings=settings)