Feat : browser v0

This commit is contained in:
martin legrand
2025-03-10 21:05:10 +01:00
parent a4008c14ef
commit 68bab4ecac
7 changed files with 190 additions and 3 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ class Transcript:
audio_data = librosa.resample(audio_data, orig_sr=sample_rate, target_sr=16000)
result = self.pipe(audio_data)
return self.remove_hallucinations(result["text"])
class AudioTranscriber:
"""
AudioTranscriber is a class that transcribes audio from the audio queue and adds it to the transcript.