File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ def cli():
2020 parser .add_argument ("--output_dir" , type = str , default = "." , help = "directory to save the outputs" )
2121 parser .add_argument (
2222 "--history_prompt" ,
23- type = Optional [ Union [ Dict , str ]] ,
23+ type = str ,
2424 default = None ,
25- help = "history choice for audio cloning" ,
25+ help = "history choice for audio cloning, be path to the .npz file. " ,
2626 )
2727 parser .add_argument (
2828 "--text_temp" ,
@@ -48,7 +48,7 @@ def cli():
4848 input_text : str = args .get ("text" )
4949 output_filename : str = args .get ("output_filename" )
5050 output_dir : str = args .get ("output_dir" )
51- history_prompt : Optional [ Union [ Dict , str ]] = args .get ("history_prompt" )
51+ history_prompt : str = args .get ("history_prompt" )
5252 text_temp : float = args .get ("text_temp" )
5353 waveform_temp : float = args .get ("waveform_temp" )
5454 silent : bool = args .get ("silent" )
You can’t perform that action at this time.
0 commit comments