From 3fbceec8de833416bf1ae049f959f222c3f1a4a0 Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Tue, 02 Jun 2026 14:05:59 +0800
Subject: [PATCH] Prepare Round 1 model profile QA baseline
---
privatevoice.src/frontend/src/App.svelte | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/VoiceSnapGo/frontend/src/App.svelte b/privatevoice.src/frontend/src/App.svelte
similarity index 91%
rename from VoiceSnapGo/frontend/src/App.svelte
rename to privatevoice.src/frontend/src/App.svelte
index a9aeb30..31f69cd 100755
--- a/VoiceSnapGo/frontend/src/App.svelte
+++ b/privatevoice.src/frontend/src/App.svelte
@@ -66,6 +66,15 @@
})
// Query engine status on mount (events emitted before frontend load are lost)
+ Call.ByName('voicesnap/services.EngineService.GetStatus').then((data: any) => {
+ if (data?.status) {
+ engineStatus.set(data.status as any)
+ }
+ if (data?.hardwareInfo) {
+ engineHardwareInfo.set(data.hardwareInfo)
+ }
+ })
+
Call.ByName('voicesnap/services.EngineService.ModelExists').then((exists: any) => {
if (!exists) {
engineStatus.set('need_model')
--
Gitblit v1.9.3