leonardo 1 week ago
parent
commit
a1eee44f5b
1 changed files with 8 additions and 0 deletions
  1. 8 0
      src/views/atendimentos/AtendimentoView.vue

+ 8 - 0
src/views/atendimentos/AtendimentoView.vue

@@ -342,6 +342,14 @@ watch(() => route.params.id, carregar, { immediate: true });
                     <p v-if="m.Transcricao" class="mt-1 whitespace-pre-wrap break-words text-sm text-foreground">
                       {{ m.Transcricao }}
                     </p>
+                    <template v-else-if="m.TranscricaoWhisper">
+                      <p class="mt-1 whitespace-pre-wrap break-words text-sm text-foreground">
+                        {{ m.TranscricaoWhisper }}
+                      </p>
+                      <span class="mt-0.5 block text-[11px] italic text-muted-foreground"
+                        >Transcrição automática (Whisper, não oficial)</span
+                      >
+                    </template>
                     <p v-else class="mt-1 text-sm italic text-muted-foreground">Sem transcrição disponível</p>
                     <audio v-if="m.MidiaUrl" controls preload="none" :src="m.MidiaUrl" class="mt-1.5 h-9 w-64 max-w-full"></audio>
                     <div