Spaces:
Running
Running
gavinyuan
commited on
Commit
•
0958530
1
Parent(s):
5089b6a
update: app.py
Browse files
app.py
CHANGED
@@ -358,7 +358,7 @@ def swap_image_gr(img1, img2, use_post=False, use_gpen=False, ):
|
|
358 |
data_dir,
|
359 |
T,
|
360 |
fs_model,
|
361 |
-
gpu_mode=
|
362 |
align_target='ffhq',
|
363 |
align_source='ffhq',
|
364 |
use_post=use_post,
|
|
|
358 |
data_dir,
|
359 |
T,
|
360 |
fs_model,
|
361 |
+
gpu_mode=use_gpu,
|
362 |
align_target='ffhq',
|
363 |
align_source='ffhq',
|
364 |
use_post=use_post,
|