tonyassi commited on
Commit
b9941cd
1 Parent(s): 936a860

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -7,9 +7,7 @@ from PIL import Image, ImageOps
7
  vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
8
  pipeline = AutoPipelineForInpainting.from_pretrained("diffusers/stable-diffusion-xl-1.0-inpainting-0.1", vae=vae, torch_dtype=torch.float16, variant="fp16", use_safetensors=True).to("cuda")
9
 
10
- #@spaces.GPU()
11
  def get_select_index(evt: gr.SelectData):
12
- print(evt)
13
  return evt.index
14
 
15
  @spaces.GPU()
 
7
  vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
8
  pipeline = AutoPipelineForInpainting.from_pretrained("diffusers/stable-diffusion-xl-1.0-inpainting-0.1", vae=vae, torch_dtype=torch.float16, variant="fp16", use_safetensors=True).to("cuda")
9
 
 
10
  def get_select_index(evt: gr.SelectData):
 
11
  return evt.index
12
 
13
  @spaces.GPU()