Files
UltraSinger/Settings.py
T
2023-05-19 11:28:33 +02:00

31 lines
780 B
Python

class Settings:
create_midi = True
create_plot = False
create_audio_chunks = False
hyphenation = True
use_separated_vocal = True
create_karaoke = True
input_file_path = ''
output_file_path = ''
mono_audio_path = ''
# Transcribe
audio_chunk_folder_name = 'audio-chunks'
# Whisper
transcriber = 'whisper' # whisper|vosk
whisper_model = 'large' # Multilingual model tiny|base|small|medium|large
# English-only model tiny.en|base.en|small.en|medium.en
# Vosk
vosk_model_path = '' # "models/vosk-model-small-en-us-0.15"
# Pitch
crepe_model_capacity = 'full' # tiny|small|medium|large|full
crepe_step_size = 10
# Device
device = 'cpu' # cpu|cuda|gpu