JoPmt commited on
Commit
c908217
1 Parent(s): 11578aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ accelerator = Accelerator(cpu=True)
7
 
8
  pipe = accelerator.prepare(UniDiffuserPipeline.from_pretrained("thu-ml/unidiffuser-v1", torch_dtype=torch.bfloat16))
9
  pipe = accelerator.prepare(pipe.to("cpu"))
10
-
11
  def plex(image_url,stips):
12
  init_image = load_image(image_url).resize((512, 512))
13
  sample = pipe(image=init_image, num_inference_steps=stips, guidance_scale=8.0)
 
7
 
8
  pipe = accelerator.prepare(UniDiffuserPipeline.from_pretrained("thu-ml/unidiffuser-v1", torch_dtype=torch.bfloat16))
9
  pipe = accelerator.prepare(pipe.to("cpu"))
10
+ apol=[]
11
  def plex(image_url,stips):
12
  init_image = load_image(image_url).resize((512, 512))
13
  sample = pipe(image=init_image, num_inference_steps=stips, guidance_scale=8.0)