mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-24 06:46:40 +00:00
Update security.py
This commit is contained in:
parent
627f72832d
commit
a1c63689f7
@ -10,6 +10,7 @@ import platform
|
|||||||
import string
|
import string
|
||||||
from lollms.utilities import PackageManager
|
from lollms.utilities import PackageManager
|
||||||
from starlette.middleware.base import BaseHTTPMiddleware
|
from starlette.middleware.base import BaseHTTPMiddleware
|
||||||
|
from fastapi.responses import JSONResponse
|
||||||
|
|
||||||
if not PackageManager.check_package_installed("lxml"):
|
if not PackageManager.check_package_installed("lxml"):
|
||||||
PackageManager.install_package("lxml")
|
PackageManager.install_package("lxml")
|
||||||
|
Loading…
Reference in New Issue
Block a user