@@ -49,7 +49,7 @@ def process(self):
4949 def mono_processor (self ):
5050 try :
5151 file_type = self .mime .from_file (self .args .file )
52- Clogger .info (f"{ fg .BLUE_FG } Detected file type: { file_type } { RESET } " )
52+ Clogger .info (f"{ fg .BLUE } Detected file type: { file_type } { RESET } " )
5353 if file_type .startswith ("audio" ):
5454 if self .args .transcribe :
5555 transcribe_audio (self .args .file )
@@ -81,7 +81,7 @@ def batch_processor(self):
8181 for file in files :
8282 full_path = os .path .join (root , file )
8383 file_type = self .mime .from_file (full_path )
84- Clogger .info (f"{ fg .BLUE_FG } Detected file type: { file_type } { RESET } " )
84+ Clogger .info (f"{ fg .BLUE } Detected file type: { file_type } { RESET } " )
8585 if file_type .startswith ("audio" ):
8686 if self .args .transcribe :
8787 transcribe_audio (full_path )
@@ -119,7 +119,7 @@ def cli(argsv=None):
119119 )
120120 parser .add_argument (
121121 "file" ,
122- help = f"{ fg .CYAN_FG } The input audio, video file, or directory.{ RESET } " ,
122+ help = f"{ fg .CYAN } The input audio, video file, or directory.{ RESET } " ,
123123 )
124124 parser .add_argument (
125125 "-e" ,
@@ -139,47 +139,47 @@ def cli(argsv=None):
139139 "distortion" ,
140140 "denoise" ,
141141 ],
142- help = f"{ fg .CYAN_FG } The voice effect to apply.{ RESET } " ,
142+ help = f"{ fg .CYAN } The voice effect to apply.{ RESET } " ,
143143 )
144144 parser .add_argument (
145145 "--cutoff" ,
146146 type = int ,
147- help = f"Cutoff frequency for denoise operation, defualt={ fg .YELLOW_FG } 200{ RESET } " ,
147+ help = f"Cutoff frequency for denoise operation, defualt={ fg .YELLOW } 200{ RESET } " ,
148148 )
149149 parser .add_argument (
150150 "-N" ,
151151 "--noise" ,
152152 choices = ["low" , "high" , "both" ],
153153 type = str ,
154154 default = "low" ,
155- help = f"Specifies the type of noise to remove choices:[{ fg .BLUE_FG } low, high, both{ RESET } ] defualt={ fg .YELLOW_FG } low{ RESET } " ,
155+ help = f"Specifies the type of noise to remove choices:[{ fg .BLUE } low, high, both{ RESET } ] defualt={ fg .YELLOW } low{ RESET } " ,
156156 )
157157 parser .add_argument (
158158 "-o" ,
159159 "--output" ,
160- help = f"{ fg .CYAN_FG } Output directory for modified files.{ RESET } " ,
160+ help = f"{ fg .CYAN } Output directory for modified files.{ RESET } " ,
161161 )
162162 parser .add_argument (
163163 "-v" ,
164164 "--verbose" ,
165165 action = "store_true" ,
166- help = f"{ fg .CYAN_FG } Increase output verbosity.{ RESET } " ,
166+ help = f"{ fg .CYAN } Increase output verbosity.{ RESET } " ,
167167 )
168168 parser .add_argument (
169169 "-b" ,
170170 "--batch" ,
171171 action = "store_true" ,
172- help = f"{ fg .CYAN_FG } Batch process all files in a directory.{ RESET } " ,
172+ help = f"{ fg .CYAN } Batch process all files in a directory.{ RESET } " ,
173173 )
174174 parser .add_argument (
175175 "--visualize" ,
176176 action = "store_true" ,
177- help = f"{ fg .CYAN_FG } Visualize the audio waveform before and after modification.{ RESET } " ,
177+ help = f"{ fg .CYAN } Visualize the audio waveform before and after modification.{ RESET } " ,
178178 )
179179 parser .add_argument (
180180 "--transcribe" ,
181181 action = "store_true" ,
182- help = f"{ fg .CYAN_FG } Transcribe the audio content before applying the effect.{ RESET } " ,
182+ help = f"{ fg .CYAN } Transcribe the audio content before applying the effect.{ RESET } " ,
183183 )
184184 parser .add_argument ("--audio_effect" , action = "store_true" , help = argparse .SUPPRESS )
185185
0 commit comments