This repository has been archived on 2024-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
local-llm-server/gunicorn.py

14 lines
213 B
Python
Raw Normal View History

2023-09-26 13:32:33 -06:00
try:
import gevent.monkey
gevent.monkey.patch_all()
except ImportError:
pass
from llm_server.pre_fork import server_startup
2023-09-26 13:32:33 -06:00
def on_starting(s):
server_startup(s)
2023-09-26 13:32:33 -06:00
print('Startup complete!')