Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Commit

Permalink
fix: apps directory path
Browse files Browse the repository at this point in the history
  • Loading branch information
deepankarm committed May 15, 2023
1 parent fbde982 commit 38fa535
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lcserve/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async def serve_on_jcloud(
config: str = None,
verbose: bool = False,
cors: bool = True,
):
) -> str:
from .backend.playground.utils.helper import get_random_tag

module_dir, is_websocket = get_module_dir(
Expand Down Expand Up @@ -151,6 +151,7 @@ async def serve_babyagi_on_jcloud(
name=name,
requirements=requirements,
app_id=app_id,
app_dir=os.path.join(os.path.dirname(__file__), 'apps', 'babyagi'),
version=version,
timeout=timeout,
platform=platform,
Expand Down Expand Up @@ -183,6 +184,7 @@ async def serve_autogpt_on_jcloud(
name=name,
requirements=tuple(requirements),
app_id=app_id,
app_dir=os.path.join(os.path.dirname(__file__), 'apps', 'autogpt'),
version=version,
timeout=timeout,
platform=platform,
Expand All @@ -207,6 +209,7 @@ async def serve_pdf_qna_on_jcloud(
module_str='lcserve.apps.pdf_qna.app',
name=name,
app_id=app_id,
app_dir=os.path.join(os.path.dirname(__file__), 'apps', 'pdf_qna'),
requirements=requirements,
version=version,
timeout=timeout,
Expand All @@ -232,6 +235,7 @@ async def serve_pandas_ai_on_jcloud(
module_str='lcserve.apps.pandas_ai.api',
name=name,
app_id=app_id,
app_dir=os.path.join(os.path.dirname(__file__), 'apps', 'pandas_ai'),
requirements=requirements,
version=version,
timeout=timeout,
Expand Down

0 comments on commit 38fa535

Please sign in to comment.