Spaces:
Running
Running
felixrosberg
commited on
Commit
β’
2a7a607
1
Parent(s):
315c995
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ G = load_model("g_model/affa_f_demo.h5", custom_objects={"AdaIN": AdaIN,
|
|
39 |
"InstanceNormalization": InstanceNormalization})
|
40 |
|
41 |
blend_mask_base = np.zeros(shape=(256, 256, 1))
|
42 |
-
blend_mask_base[
|
43 |
blend_mask_base = gaussian_filter(blend_mask_base, sigma=7)
|
44 |
|
45 |
|
|
|
39 |
"InstanceNormalization": InstanceNormalization})
|
40 |
|
41 |
blend_mask_base = np.zeros(shape=(256, 256, 1))
|
42 |
+
blend_mask_base[80:250, 32:224] = 1
|
43 |
blend_mask_base = gaussian_filter(blend_mask_base, sigma=7)
|
44 |
|
45 |
|