fffiloni multimodalart HF Staff commited on
Commit
9c5cafb
·
1 Parent(s): 374aa25

Let the image be 1024 (#1)

Browse files

- Let the image be 1024 (60147248781eca08a861ddf4cead2503219257a4)


Co-authored-by: Apolinário from multimodal AI art <multimodalart@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ pipe.enable_vae_slicing()
18
 
19
  @spaces.GPU
20
  def infer(prompt):
21
- image = pipe(prompt, guidance_scale=7.5).images[0].resize((512,512))
22
  return image
23
 
24
  css = """
 
18
 
19
  @spaces.GPU
20
  def infer(prompt):
21
+ image = pipe(prompt, guidance_scale=7.5).images[0]
22
  return image
23
 
24
  css = """