multimodalart HF staff commited on
Commit
d4c4f8f
1 Parent(s): 897c8e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ def process_image(
78
  ipadapter_scale=scale,
79
  width=width,
80
  height=height,
81
- generator=torch.Generator("cuda").manual_seed(seed)
82
  )
83
 
84
  return result[0], seed
 
78
  ipadapter_scale=scale,
79
  width=width,
80
  height=height,
81
+ generator=torch.Generator().manual_seed(seed)
82
  )
83
 
84
  return result[0], seed