File size: 1,605 Bytes
3f47554
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!doctype html>
<html lang="vi">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <meta name="theme-color" content="#0f172a" />
  <title>Bila Translator Realtime · CVNSS4.0 Space</title>
  <link rel="manifest" href="/static/manifest.webmanifest" />
  <link rel="stylesheet" href="/static/style.css" />
</head>
<body>
  <main class="shell">
    <section class="hero">
      <div>
        <p class="eyebrow">Hugging Face Space · Fast Sync</p>
        <h1>Dịch Máy Song Song <span>CVNSS4.0</span></h1>
        <p class="sub">Gõ một ô, các ô còn lại đồng bộ qua trục Tiếng Việt. CVNSS chạy cục bộ, bản dịch có cache 2 tầng để phản hồi gần như offline khi đã dùng lại.</p>
      </div>
      <div class="statusBoard" aria-live="polite">
        <div><b id="netState">Sẵn sàng</b><small>Trạng thái</small></div>
        <div><b id="latency">0 ms</b><small>Độ trễ cuối</small></div>
        <div><b id="cacheState">L1/L2</b><small>Cache</small></div>
      </div>
    </section>

    <section class="toolbar">
      <button id="clearBtn" type="button">Làm sạch</button>
      <button id="refreshBtn" type="button">Dịch lại bỏ cache</button>
      <label class="toggle"><input id="liveToggle" type="checkbox" checked /> <span>Đồng bộ tức thì</span></label>
    </section>

    <section class="grid" id="grid"></section>
  </main>

  <div class="toast" id="toast"></div>
  <script src="/static/cvnss.js"></script>
  <script src="/static/app.js"></script>
</body>
</html>