Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -26,5 +26,10 @@ def predict(source_img, prompt):
|
|
26 |
return image
|
27 |
|
28 |
title="SDXL Turbo Inpainting CPU"
|
29 |
-
description="Inpainting with SDXL Turbo <br
|
30 |
-
gr.Interface(fn=predict, inputs=[gr.Image(source="upload", type="numpy", tool="sketch", elem_id="source_container"),
|
|
|
|
|
|
|
|
|
|
|
|
26 |
return 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=predict, inputs=[gr.Image(source=("upload", "webcam"), type="numpy", tool="sketch", elem_id="source_container"),
|
31 |
+
gr.Textbox(label='What you want the AI to Generate, 77 Token limit')],
|
32 |
+
outputs='image',
|
33 |
+
title=title,
|
34 |
+
description=description,
|
35 |
+
article = "Code Monkey: <a href=\"https://huggingface.co/Manjushri\">Manjushri</a>").launch(max_threads=True, debug=True)
|