Spaces:
Sleeping
Sleeping
File size: 1,196 Bytes
aaca273 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
class Settings:
APP_VERSION = "0.0.11-dev4"
create_midi = True
create_plot = False
create_audio_chunks = False
hyphenation = True
use_separated_vocal = True
create_karaoke = True
keep_cache = False
input_file_path = ""
output_file_path = ""
processing_audio_path = ""
language = None
format_version = "1.0.0"
# Transcribe
audio_chunk_folder_name = "audio-chunks"
# Whisper
transcriber = "whisper" # whisper
whisper_model = "large-v2" # Multilingual model tiny|base|small|medium|large-v1|large-v2
# English-only model tiny.en|base.en|small.en|medium.en
whisper_align_model = None # Model for other languages from huggingface.co e.g -> "gigant/romanian-wav2vec2"
whisper_batch_size = 16 # reduce if low on GPU mem
whisper_compute_type = None # change to "int8" if low on GPU mem (may reduce accuracy)
# Pitch
crepe_model_capacity = "full" # tiny|small|medium|large|full
crepe_step_size = 10 # in miliseconds
# Device
pytorch_device = 'cpu' # cpu|cuda
tensorflow_device = 'cpu' # cpu|cuda
force_cpu = False
force_whisper_cpu = False
force_crepe_cpu = False
|