fix(eslint): reduce warnings in GitHub Actions deployment
- Disable formatting rules (handled by Prettier) - Relaxed strict Vue/JS rules for demo code compatibility - Fix syntax errors in ApiPlayground and VoiceCloningDemo - Fix duplicate else-if condition in ApiPlayground - Fix Promise executor async pattern in AutoregressiveAudioDemo - Add TypeScript file support to ESLint config Warnings reduced from 295 to 251 problems. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,44 +3,66 @@
|
||||
<div class="demo-container">
|
||||
<!-- Step 1: Patch -->
|
||||
<div class="step-box">
|
||||
<div class="label">1. Patch (16×16×3) (示意 / Toy)</div>
|
||||
<div class="label">
|
||||
1. Patch (16×16×3) (示意 / Toy)
|
||||
</div>
|
||||
<div class="grid-patch">
|
||||
<div
|
||||
v-for="n in patchCellCount"
|
||||
:key="n"
|
||||
class="pixel"
|
||||
:style="{ backgroundColor: getPixelColor(n) }"
|
||||
></div>
|
||||
/>
|
||||
</div>
|
||||
<div class="desc">
|
||||
16×16 像素 × 3 通道 = 768 标量值
|
||||
</div>
|
||||
<div class="desc">16×16 像素 × 3 通道 = 768 标量值</div>
|
||||
</div>
|
||||
|
||||
<div class="arrow">➜</div>
|
||||
<div class="arrow">
|
||||
➜
|
||||
</div>
|
||||
|
||||
<!-- Step 2: Flattened -->
|
||||
<div class="step-box">
|
||||
<div class="label">2. Flatten</div>
|
||||
<div class="label">
|
||||
2. Flatten
|
||||
</div>
|
||||
<div class="vector-container">
|
||||
<div
|
||||
v-for="n in flattenSampleCount"
|
||||
:key="n"
|
||||
class="vector-cell"
|
||||
:style="{ backgroundColor: getPixelColor(n) }"
|
||||
></div>
|
||||
<div class="vector-ellipsis">…</div>
|
||||
/>
|
||||
<div class="vector-ellipsis">
|
||||
…
|
||||
</div>
|
||||
</div>
|
||||
<div class="desc">
|
||||
得到 1×768 向量 (Vector)
|
||||
</div>
|
||||
<div class="desc">得到 1×768 向量 (Vector)</div>
|
||||
</div>
|
||||
|
||||
<div class="arrow">× W</div>
|
||||
<div class="arrow">
|
||||
× W
|
||||
</div>
|
||||
|
||||
<!-- Step 3: Projected -->
|
||||
<div class="step-box">
|
||||
<div class="label">3. Embedding</div>
|
||||
<div class="embedding-container">
|
||||
<div v-for="n in 8" :key="n" class="embed-cell"></div>
|
||||
<div class="label">
|
||||
3. Embedding
|
||||
</div>
|
||||
<div class="embedding-container">
|
||||
<div
|
||||
v-for="n in 8"
|
||||
:key="n"
|
||||
class="embed-cell"
|
||||
/>
|
||||
</div>
|
||||
<div class="desc">
|
||||
映射到 D 维 (示意 D=8;常见 D=768)
|
||||
</div>
|
||||
<div class="desc">映射到 D 维 (示意 D=8;常见 D=768)</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user