From 036cdce420c2876f35b13ba249520035c588d1ff Mon Sep 17 00:00:00 2001 From: chenjian Date: Wed, 27 Jul 2022 07:26:10 +0800 Subject: [PATCH] fix doc format (#1855) Co-authored-by: wuzewu Co-authored-by: Zeyu Chen --- modules/image/Image_gan/gan/styleganv2_editing/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/image/Image_gan/gan/styleganv2_editing/README.md b/modules/image/Image_gan/gan/styleganv2_editing/README.md index 4728207b..a8340954 100644 --- a/modules/image/Image_gan/gan/styleganv2_editing/README.md +++ b/modules/image/Image_gan/gan/styleganv2_editing/README.md @@ -63,13 +63,13 @@ module = hub.Module(name="styleganv2_editing") input_path = ["/PATH/TO/IMAGE"] # Read from a file - module.generate(paths=input_path, direction_name = 'age', direction_offset = 5, output_dir='./editing_result/', use_gpu=True) + module.generate(paths=input_path, direction_name='age', direction_offset=5, output_dir='./editing_result/', use_gpu=True) ``` - ### 3、API - ```python - generate(self, images=None, paths=None, direction_name = 'age', direction_offset = 0.0, output_dir='./editing_result/', use_gpu=False, visualization=True) + generate(self, images=None, paths=None, direction_name='age', direction_offset=0.0, output_dir='./editing_result/', use_gpu=False, visualization=True) ``` - 人脸编辑生成API。 -- GitLab