Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ device="cpu"
|
|
23 |
img_pipe = StableDiffusionImg2ImgPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", use_auth_token=YOUR_TOKEN)
|
24 |
img_pipe.to(device)
|
25 |
|
26 |
-
source_img = gr.Image(source="canvas", type="filepath", tool='color-sketch', label="new gradio color sketch
|
27 |
|
28 |
gallery = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery").style(grid=[2], height="auto")
|
29 |
|
|
|
23 |
img_pipe = StableDiffusionImg2ImgPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", use_auth_token=YOUR_TOKEN)
|
24 |
img_pipe.to(device)
|
25 |
|
26 |
+
source_img = gr.Image(source="canvas", type="filepath", tool='color-sketch', label="new gradio color sketch")
|
27 |
|
28 |
gallery = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery").style(grid=[2], height="auto")
|
29 |
|