mirror of
https://github.com/rakuri255/UltraSinger.git
synced 2026-12-02 09:58:09 +09:00
Bump yt_dlp
Added exception print for hypenation
This commit is contained in:
1 parent
583c23f49e
commit
55956de288
3 files changed
+4
-3
No files matched your search
+1
-1
@@ -17,7 +17,7 @@ scipy~=1.13.1
|
||||
tensorflow<2.11
|
||||
tqdm~=4.66.4
|
||||
#whisperx~=3.1.1
|
||||
yt_dlp~=2024.5.27
|
||||
yt_dlp~=2024.7.9
|
||||
isort~=5.13.2
|
||||
black~=24.4.2
|
||||
pylint~=3.2.3
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
class Settings:
|
||||
APP_VERSION = "0.0.11"
|
||||
APP_VERSION = "0.0.12-dev1"
|
||||
|
||||
create_midi = True
|
||||
create_plot = False
|
||||
|
||||
+2
-1
@@ -250,8 +250,9 @@ def hyphenate_each_word(language: str, transcribed_data: list[TranscribedData])
|
||||
hyphenated_word.append(
|
||||
hyphenation(transcribed_data[pos].word, hyphenator)
|
||||
)
|
||||
except:
|
||||
except Exception as e:
|
||||
print(f"{ULTRASINGER_HEAD} {red_highlighted('Error in hyphenation for language ')} {blue_highlighted(language)}{red_highlighted(', maybe you want to disable it?')}")
|
||||
print(f"\t{red_highlighted(f'->{e}')}")
|
||||
return None
|
||||
|
||||
return hyphenated_word
|
||||
|
||||
Reference in new issue
Block a user