mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-29 06:31:32 +00:00
fix(nix): build web dashboard frontend in Nix package
This commit is contained in:
parent
6fb69229ca
commit
50c8198918
4 changed files with 74 additions and 3 deletions
|
|
@ -59,7 +59,7 @@ except ImportError:
|
|||
f"Install with: {sys.executable} -m pip install 'fastapi' 'uvicorn[standard]'"
|
||||
)
|
||||
|
||||
WEB_DIST = Path(__file__).parent / "web_dist"
|
||||
WEB_DIST = Path(os.environ["HERMES_WEB_DIST"]) if "HERMES_WEB_DIST" in os.environ else Path(__file__).parent / "web_dist"
|
||||
_log = logging.getLogger(__name__)
|
||||
|
||||
app = FastAPI(title="Hermes Agent", version=__version__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue