multimodalart HF staff commited on
Commit
d7a9923
1 Parent(s): ab25924

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ def run_snc(prompt, negative_prompt=None, guidance_scale=7.0, pag_scale=3.0, pag
71
  seed = random.randint(0, 9007199254740991)
72
 
73
  generator = torch.Generator(device="cuda").manual_seed(seed)
74
- image = pipe_sc(prompt, negative_prompt=negative_prompt, guidance_scale=guidance_scale, pag_scale=pag_scale, pag_applied_layers=pag_layers, generator=generator, num_inference_steps=25).images[0]
75
 
76
  return image, seed
77
 
 
71
  seed = random.randint(0, 9007199254740991)
72
 
73
  generator = torch.Generator(device="cuda").manual_seed(seed)
74
+ image = pipe_snc(prompt, negative_prompt=negative_prompt, guidance_scale=guidance_scale, pag_scale=pag_scale, pag_applied_layers=pag_layers, generator=generator, num_inference_steps=25).images[0]
75
 
76
  return image, seed
77