build: make langchain-serve optional
This commit is contained in:
parent
dc9121c843
commit
2eec5fb3a7
4 changed files with 4 additions and 4 deletions
|
|
@ -80,7 +80,7 @@ def jcloud():
|
|||
import click
|
||||
|
||||
try:
|
||||
from lcserve.__main__ import serve_on_jcloud
|
||||
from lcserve.__main__ import serve_on_jcloud # type: ignore
|
||||
except ImportError:
|
||||
click.secho(
|
||||
"🚨 Please install langchain-serve to deploy Langflow server on Jina AI Cloud using `pip install langchain-serve`",
|
||||
|
|
|
|||
|
|
@ -11,4 +11,4 @@ app.mount(
|
|||
"/",
|
||||
StaticFiles(directory=static_files_dir, html=True),
|
||||
name="static",
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue