From aeba16fa8a6071919dc0aef493da475d13cf83dd Mon Sep 17 00:00:00 2001 From: Gabriel Almeida Date: Mon, 22 May 2023 07:46:40 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20chore(lcserve.py):=20remove=20un?= =?UTF-8?q?used=20import=20statements=20The=20import=20statements=20for=20?= =?UTF-8?q?pathlib.Path=20and=20fastapi.staticfiles.StaticFiles=20were=20n?= =?UTF-8?q?ot=20used=20in=20the=20code=20and=20were=20therefore=20removed?= =?UTF-8?q?=20to=20improve=20code=20readability=20and=20maintainability.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/langflow/lcserve.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backend/langflow/lcserve.py b/src/backend/langflow/lcserve.py index ede7ccdd4..9419fbe70 100644 --- a/src/backend/langflow/lcserve.py +++ b/src/backend/langflow/lcserve.py @@ -1,7 +1,9 @@ # This file is used by lc-serve to load the mounted app and serve it. from pathlib import Path + from fastapi.staticfiles import StaticFiles + from langflow.main import create_app app = create_app()