This repository has no description
642 B
19 lines
1{ ... }:
2{
3 perSystem =
4 { pkgs, ... }:
5 {
6 # Full-duplex voice conversations with Hermes: gpt-live-1 in the
7 # browser, delegating real work to the Hermes API server.
8 packages.hermes-voice =
9 (pkgs.writeShellApplication {
10 name = "hermes-voice";
11 # A later --config on the command line overrides the packaged one.
12 text = ''
13 export HERMES_VOICE_STATIC=${./static}
14 exec ${pkgs.python3}/bin/python3 ${./hermes_voice.py} --config ${./config.json} "$@"
15 '';
16 }).overrideAttrs
17 { passthru.usage = builtins.readFile ./usage.kdl; };
18 };
19}