This commit is contained in:
josc146
2023-10-25 21:02:44 +08:00
parent 0331bf47f7
commit 4a192f4057
2 changed files with 25 additions and 10 deletions

View File

@@ -28,8 +28,7 @@ func (a *App) StartServer(python string, port int, host string, rwkvBeta bool) (
func (a *App) StartWebGPUServer(port int, host string) (string, error) {
args := []string{"./backend-rust/webgpu_server"}
args = append(args, "-a", "0", "-t", "backend-rust/assets/rwkv_vocab_v20230424.json",
"--port", strconv.Itoa(port), "--ip", host)
args = append(args, "--port", strconv.Itoa(port), "--ip", host)
return Cmd(args...)
}