diff --git a/docs/rpa.md b/docs/rpa.md index ea87575..5fda903 100644 --- a/docs/rpa.md +++ b/docs/rpa.md @@ -3,9 +3,14 @@ modal setup python -m modal setup ``` +serve web by env in local +```shell +# --env dev +modal serve --env dev cluster.rpa_web_end_point +``` + deploy by env ```shell # --env dev modal deploy --env dev cluster.rpa -#modal deploy --env dev cluster.rpa_web_end_point ``` \ No newline at end of file diff --git a/src/cluster/rpa_web_end_point.py b/src/cluster/rpa_web_end_point.py index dcd1145..55df78e 100644 --- a/src/cluster/rpa_web_end_point.py +++ b/src/cluster/rpa_web_end_point.py @@ -12,6 +12,7 @@ image = (modal.Image.debian_slim() "fastapi[standard]", "pydantic", "scalar-fastapi>=1.0.3", + "loguru>=0.7.3", ]) .pip_install()) app = modal.App("fastapi_rpa", image=image)