testv3
Browse files- app.py +1 -1
- requirements.txt +1 -0
app.py
CHANGED
@@ -39,7 +39,7 @@ def transcribe(inputs, task):
|
|
39 |
|
40 |
segments, _ = model.transcribe(inputs, task=task)
|
41 |
transcription = "\n".join([segment.text for segment in segments])
|
42 |
-
|
43 |
# Diarisation avec le pipeline de pyannote
|
44 |
diarization = pipeline(inputs)
|
45 |
speaker_segments = []
|
|
|
39 |
|
40 |
segments, _ = model.transcribe(inputs, task=task)
|
41 |
transcription = "\n".join([segment.text for segment in segments])
|
42 |
+
print(transcription)
|
43 |
# Diarisation avec le pipeline de pyannote
|
44 |
diarization = pipeline(inputs)
|
45 |
speaker_segments = []
|
requirements.txt
CHANGED
@@ -9,4 +9,5 @@ ctranslate2
|
|
9 |
intervaltree
|
10 |
srt
|
11 |
torch
|
|
|
12 |
pyannote.audio
|
|
|
9 |
intervaltree
|
10 |
srt
|
11 |
torch
|
12 |
+
dotenv
|
13 |
pyannote.audio
|