TIMBOVILL commited on
Commit
aaca273
1 Parent(s): 9375147

Upload Settings.py

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