Skip to content

Commit

Permalink
If only an SRT file is available, disable diarization
Browse files Browse the repository at this point in the history
  • Loading branch information
R3gm authored Mar 15, 2024
1 parent 4291583 commit 36bd2ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app_rvc.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ def multilingual_media_conversion(
)

if not media_file and subtitle_file:
diarization_model = "disable"
media_file = "audio_support.wav"
if not get_video_from_text_json:
remove_files(media_file)
Expand Down

0 comments on commit 36bd2ab

Please sign in to comment.