def run(songs):
if not hasattr(songs, '<STR_LIT>'):<EOL><INDENT>result = get_lyrics_threaded(songs)<EOL>process_result(result)<EOL><DEDENT>else:<EOL><INDENT>start = time.time()<EOL>stats = run_mp(songs)<EOL>end = time.time()<EOL>if CONFIG['<STR_LIT>']:<EOL><INDENT>stats.print_stats()<EOL><DEDENT>total_time = end - start<EOL>total_time = '<STR_LIT>' % (total_time / <NUM_LIT>,<EOL>(total_time / <NUM_LIT>) / <NUM_LIT>,<EOL>(total_time % <NUM_LIT>) % <NUM_LIT>)<EOL>print(f'<STR_LIT>')<EOL><DEDENT>
Calls get_lyrics_threaded for a song or list of songs.