Skip to content

Commit 5564be7

Browse files
committed
remove ugly diarization message from transcription parameters
1 parent 9a28630 commit 5564be7

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

web/frontend/src/components/TranscriptionConfigDialog.tsx

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -722,17 +722,6 @@ export const TranscriptionConfigDialog = memo(function TranscriptionConfigDialog
722722
</div>
723723
)}
724724

725-
{!params.diarize && (
726-
<div className="p-4 text-center border border-gray-200 dark:border-gray-700 rounded-lg bg-gray-50 dark:bg-gray-800">
727-
<div className="text-4xl mb-3 opacity-50">🎤</div>
728-
<h4 className="text-lg font-medium text-gray-600 dark:text-gray-300 mb-2">
729-
Speaker Diarization Disabled
730-
</h4>
731-
<p className="text-gray-500 dark:text-gray-400 text-sm">
732-
Enable speaker diarization to identify and separate different speakers using Pyannote.
733-
</p>
734-
</div>
735-
)}
736725
</div>
737726
)}
738727
</div>
@@ -930,17 +919,6 @@ export const TranscriptionConfigDialog = memo(function TranscriptionConfigDialog
930919
</div>
931920
)}
932921

933-
{!params.diarize && (
934-
<div className="p-4 text-center border border-gray-200 dark:border-gray-700 rounded-lg bg-gray-50 dark:bg-gray-800">
935-
<div className="text-4xl mb-3 opacity-50">🎤</div>
936-
<h4 className="text-lg font-medium text-gray-600 dark:text-gray-300 mb-2">
937-
Speaker Diarization Disabled
938-
</h4>
939-
<p className="text-gray-500 dark:text-gray-400 text-sm">
940-
Enable speaker diarization to identify and separate different speakers using Pyannote.
941-
</p>
942-
</div>
943-
)}
944922
</div>
945923
)}
946924
</div>
@@ -1750,20 +1728,6 @@ export const TranscriptionConfigDialog = memo(function TranscriptionConfigDialog
17501728
</div>
17511729
)}
17521730

1753-
{!params.diarize && (
1754-
<div className="p-4 sm:p-8 text-center border border-gray-200 dark:border-gray-700 rounded-lg bg-gray-50 dark:bg-gray-800">
1755-
<div className="text-4xl mb-3 opacity-50">🎤</div>
1756-
<h3 className="text-lg font-medium text-gray-600 dark:text-gray-300 mb-2">
1757-
Speaker Diarization Disabled
1758-
</h3>
1759-
<p className="text-gray-500 dark:text-gray-400 text-sm">
1760-
{params.is_multi_track_enabled
1761-
? "Diarization is disabled for multi-track transcription as each track represents a single speaker."
1762-
: "Enable speaker diarization to identify and separate different speakers in your audio."
1763-
}
1764-
</p>
1765-
</div>
1766-
)}
17671731
</div>
17681732
</TabsContent>
17691733
)}

0 commit comments

Comments
 (0)