add pre-commit hooks configuration

This commit is contained in:
Tran Xen
2023-07-28 18:25:28 +02:00
parent 8577d0186d
commit 5d4a29ff1e
33 changed files with 1674 additions and 820 deletions
+2 -2
View File
@@ -102,10 +102,10 @@ pp = PostProcessingOptions(
codeformer_weight=0.5,
restorer_visibility= 1)
# Prepare the request
# Prepare the request
request = FaceSwapRequest (
image = pil_to_base64("test_image.png"),
units= [unit1, unit2],
units= [unit1, unit2],
postprocessing=pp
)