File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535def conversion_command_factory (args : Namespace ):
3636 if args .use_auth_token :
3737 warnings .warn (
38- "The `--use_auth_token` flag is deprecated and will be removed in a future version. Authentication is now "
39- " handled automatically if user is logged in."
38+ "The `--use_auth_token` flag is deprecated and will be removed in a future version."
39+ "Authentication is now handled automatically if the user is logged in."
4040 )
4141 return FP16SafetensorsCommand (args .ckpt_id , args .fp16 , args .use_safetensors )
4242
@@ -92,8 +92,8 @@ def run(self):
9292 pipeline_class = getattr (import_module ("diffusers" ), pipeline_class_name )
9393 self .logger .info (f"Pipeline class imported: { pipeline_class_name } ." )
9494
95- # Load the appropriate pipeline. We could have use `DiffusionPipeline`
96- # here, but just to avoid any rough edge cases.
95+ # Load the appropriate pipeline. We could have used `DiffusionPipeline`
96+ # here, but just to avoid potential edge cases.
9797 pipeline = pipeline_class .from_pretrained (
9898 self .ckpt_id , torch_dtype = torch .float16 if self .fp16 else torch .float32
9999 )
You can’t perform that action at this time.
0 commit comments