Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def predict(source_img, prompt):
|
|
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=predict, inputs=[gr.Image(
|
31 |
gr.Textbox(label='What you want the AI to Generate, 77 Token limit')],
|
32 |
outputs='image',
|
33 |
title=title,
|
|
|
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=predict, inputs=[gr.Image(source=("upload"), tool='sketch', label='Source Image'),
|
31 |
gr.Textbox(label='What you want the AI to Generate, 77 Token limit')],
|
32 |
outputs='image',
|
33 |
title=title,
|