Spaces:
Running
on
Zero
Running
on
Zero
title
Browse files
app.py
CHANGED
@@ -47,7 +47,6 @@ scale = {
|
|
47 |
"up": {"block_0": [1.0, 0.0, 1.0]},
|
48 |
}
|
49 |
pipe.set_ip_adapter_scale(scale)
|
50 |
-
pipe.enable_model_cpu_offload()
|
51 |
|
52 |
prompt = "high quality color photo, sharp, detailed, 4k, colorized, remastered"
|
53 |
negative_prompt = "blurry, low resolution, bad quality, pixelated, black and white, b&w, grayscale, monochrome, sepia"
|
@@ -106,7 +105,7 @@ css = """
|
|
106 |
"""
|
107 |
|
108 |
|
109 |
-
title = """<h1 align="center">Diffusers Image
|
110 |
<div align="center">Upload a grayscale image to colorize it.</div>
|
111 |
<div align="center">This space is a PoC made for the guide <a href='https://huggingface.co/blog/OzzyGT/diffusers-recolor'>Recoloring photos with diffusers</a>.</div>
|
112 |
"""
|
|
|
47 |
"up": {"block_0": [1.0, 0.0, 1.0]},
|
48 |
}
|
49 |
pipe.set_ip_adapter_scale(scale)
|
|
|
50 |
|
51 |
prompt = "high quality color photo, sharp, detailed, 4k, colorized, remastered"
|
52 |
negative_prompt = "blurry, low resolution, bad quality, pixelated, black and white, b&w, grayscale, monochrome, sepia"
|
|
|
105 |
"""
|
106 |
|
107 |
|
108 |
+
title = """<h1 align="center">Diffusers Image Recolor</h1>
|
109 |
<div align="center">Upload a grayscale image to colorize it.</div>
|
110 |
<div align="center">This space is a PoC made for the guide <a href='https://huggingface.co/blog/OzzyGT/diffusers-recolor'>Recoloring photos with diffusers</a>.</div>
|
111 |
"""
|