Spaces:
Shad0ws
/
Runtime error

Shad0ws commited on
Commit
d3d305b
1 Parent(s): cebe39f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ from pulid import attention_processor as attention
7
  from pulid.pipeline import PuLIDPipeline
8
  from pulid.utils import resize_numpy_image_long, seed_everything
9
 
10
- torch.set_grad_enabled(False)
11
 
12
  pipeline = PuLIDPipeline()
13
 
 
7
  from pulid.pipeline import PuLIDPipeline
8
  from pulid.utils import resize_numpy_image_long, seed_everything
9
 
10
+ torch.set_grad_enabled(True)
11
 
12
  pipeline = PuLIDPipeline()
13