Skip to content

Commit

Permalink
Fix: 最新の AIVM 仕様に合わせて修正
Browse files Browse the repository at this point in the history
  • Loading branch information
tsukumijima committed Oct 31, 2024
1 parent d953713 commit 9519b48
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/Dialog/ModelManageDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
:active="activeAivmUuid === aivmInfo.manifest.uuid" @click="activeAivmUuid = aivmInfo.manifest.uuid">
<QItemSection avatar>
<QAvatar rounded color="primary">
<img :src="aivmInfo.manifest.speakers[0].styles[0].icon" />
<img :src="aivmInfo.manifest.speakers[0].icon" />
</QAvatar>
</QItemSection>
<QItemSection>
Expand Down Expand Up @@ -68,7 +68,7 @@
{{ activeAivmInfo.manifest.speakers.reduce((acc, speaker) => acc + speaker.styles.length, 0) }}スタイル
</div>
<div class="col-auto" style="font-size: 13.5px; font-weight: bold; color: #D2D3D4;">
{{ activeAivmInfo.manifest.speakers[activeSpeakerIndex].styles.map(style => style.name).join(' / ') }}
{{ speaker.styles.map(style => style.name).join(' / ') }}
</div>
</div>
<div class="q-mt-md" style="font-size: 13.5px; color: #D2D3D4;">
Expand All @@ -79,15 +79,15 @@
</div>
<div class="q-mt-md" style="margin-bottom: 12px; font-size: 17px; font-weight: bold;">ボイスサンプル</div>
<div class="row" style="gap: 12px;">
<div v-for="style in activeAivmInfo.manifest.speakers[activeSpeakerIndex].styles" :key="style.localId" class="col-12">
<div v-for="style in speaker.styles" :key="style.localId" class="col-12">
<div class="style-card">
<div class="style-content">
<div class="style-icon-container">
<img class="style-icon" :src="style.icon" />
<img class="style-icon" :src="style.icon ? style.icon : speaker.icon" />
<div class="style-name">{{ style.name }}</div>
</div>
<div class="voice-samples-container">
<div v-if="style.voiceSamples.length === 0" class="sample-transcript">
<div v-if="style.voiceSamples!.length === 0" class="sample-transcript">
(このスタイルの音声サンプルは提供されていません)
</div>
<div v-for="(sample, voiceSampleIndex) in style.voiceSamples" :key="voiceSampleIndex" class="voice-sample">
Expand Down

0 comments on commit 9519b48

Please sign in to comment.