inputs = processor('hello, i hope you are doing well', voice_preset=voice_preset) ## add this for key in inputs.keys(): inputs[key] = inputs[key].to("cuda")