Spaces:
Runtime error
Runtime error
Update app.py
Browse files57 unmodified lines5859606162636424 unmodified lines89909192939457 unmodified linesn_prompt = 'NSFW, nude, naked, porn, ugly'image_in, w, h = resize_image(image_in, "resized_input.jpg", 1024)# Canny preprocessingimage_to_canny = load_image(image_in)24 unmodified linesheight=h).images[0]return image, image_to_cannycss="""57 unmodified lines5859606162636424 unmodified lines8990919293949596979857 unmodified linesn_prompt = 'NSFW, nude, naked, porn, ugly'# Canny preprocessingimage_to_canny = load_image(image_in)24 unmodified linesheight=h).images[0]image_redim, w, h = resize_image(image_in, "resized_input.jpg", 1024)image = image.resize((w, h), Image.LANCZOS)return image, image_to_cannycss="""
app.py+5-1