hysts HF staff commited on
Commit
b98a8ac
1 Parent(s): bd312c9
Files changed (1) hide show
  1. dualstylegan.py +1 -1
dualstylegan.py CHANGED
@@ -15,7 +15,7 @@ import torch
15
  import torch.nn as nn
16
  import torchvision.transforms as T
17
 
18
- if os.environ.get('SYSTEM') == 'spaces':
19
  os.system("sed -i '10,17d' DualStyleGAN/model/stylegan/op/fused_act.py")
20
  os.system("sed -i '10,17d' DualStyleGAN/model/stylegan/op/upfirdn2d.py")
21
 
 
15
  import torch.nn as nn
16
  import torchvision.transforms as T
17
 
18
+ if os.getenv('SYSTEM') == 'spaces':
19
  os.system("sed -i '10,17d' DualStyleGAN/model/stylegan/op/fused_act.py")
20
  os.system("sed -i '10,17d' DualStyleGAN/model/stylegan/op/upfirdn2d.py")
21