File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1- gradio == 4.5.0
1+ gradio == 4.7.1
2+ moviepy == 1.0.3
3+ numpy == 1.26.2
4+ pyannote.audio == 3.1.0
25pytube == 15.0.0
6+ Requests == 2.31.0
37torch == 2.1.0
8+ torchaudio == 2.1.0
49transformers == 4.35.2
5- accelerate
6- moviepy
7- pyannote
Original file line number Diff line number Diff line change 11from whisperplus .pipelines .summarization import TextSummarizationPipeline
22from whisperplus .pipelines .whisper import SpeechToTextPipeline
3+ from whisperplus .pipelines .whisper_diarize import ASRDiarizationPipeline
34from whisperplus .utils .download_utils import download_and_convert_to_mp3
45from whisperplus .utils .text_utils import format_speech_to_dialogue
56
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ def format_speech_to_dialogue(speech_text):
99 str: Formatted text in dialogue format.
1010 """
1111 # Parse the given text appropriately
12- dialog_list = eval (speech_text )
12+ dialog_list = eval (str ( speech_text ) )
1313 dialog_text = ""
1414
1515 for i , turn in enumerate (dialog_list ):
You can’t perform that action at this time.
0 commit comments