Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def img2img(source_img, prompt, strength):
|
|
27 |
|
28 |
title="SDXL Turbo Inpainting CPU"
|
29 |
description="Inpainting with SDXL Turbo <br><br> <b>Please use square .png image as input, 512x512, 768x768, or 1024x1024</b>"
|
30 |
-
gr.Interface(fn=img2img, inputs=[gr.ImageEditor(sources=["upload"], interactive=True, label="Source Image"),
|
31 |
gr.Textbox(label='What you want the AI to Generate, 77 Token limit'),
|
32 |
gr.Slider(minimum=.5, maximum=1, value=.75, step=.025, label='Strength')],
|
33 |
outputs='image',
|
|
|
27 |
|
28 |
title="SDXL Turbo Inpainting CPU"
|
29 |
description="Inpainting with SDXL Turbo <br><br> <b>Please use square .png image as input, 512x512, 768x768, or 1024x1024</b>"
|
30 |
+
gr.Interface(fn=img2img, inputs=[gr.ImageEditor(sources=["upload", "webcam", "clipboard"], interactive=True, label="Source Image"),
|
31 |
gr.Textbox(label='What you want the AI to Generate, 77 Token limit'),
|
32 |
gr.Slider(minimum=.5, maximum=1, value=.75, step=.025, label='Strength')],
|
33 |
outputs='image',
|