Skip to content

error when running #15

Closed Answered by zh-plus
Rakan-Makhashin asked this question in Q&A
Oct 10, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

You should enclose your invocation code within the main function like this:

if __name__ ==  '__main__':
    lrcer = LRCer()
    lrcer.run('./data/test.mp3', target_lang='zh-cn')

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@VertofChest
Comment options

Answer selected by zh-plus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants