Spaces:
Running
on
Zero
Running
on
Zero
LPX55
commited on
Commit
·
dd06afb
1
Parent(s):
5fa4395
✨ chore(depreciated-comp): upgrade inpaint image tool with editor
Browse files
app.py
CHANGED
@@ -291,7 +291,9 @@ with gr.Blocks(css=css) as demo:
|
|
291 |
with gr.Tabs():
|
292 |
with gr.TabItem("Inpaint"):
|
293 |
with gr.Column():
|
294 |
-
inpaint_image = gr.Image(type="pil", label="Input Image", tool="sketch")
|
|
|
|
|
295 |
inpaint_prompt = gr.Textbox(label="Prompt", info="Describe what to inpaint the mask with", lines=3)
|
296 |
inpaint_model = gr.Dropdown(choices=list(MODELS.keys()), value="RealVisXL V5.0 Lightning", label="Model")
|
297 |
inpaint_paste_back = gr.Checkbox(True, label="Paste back original")
|
|
|
291 |
with gr.Tabs():
|
292 |
with gr.TabItem("Inpaint"):
|
293 |
with gr.Column():
|
294 |
+
# inpaint_image = gr.Image(type="pil", label="Input Image", tool="sketch")
|
295 |
+
inpaint_image = gr.ImageEditor(type="pil", label="Input Image", tool="sketch")
|
296 |
+
|
297 |
inpaint_prompt = gr.Textbox(label="Prompt", info="Describe what to inpaint the mask with", lines=3)
|
298 |
inpaint_model = gr.Dropdown(choices=list(MODELS.keys()), value="RealVisXL V5.0 Lightning", label="Model")
|
299 |
inpaint_paste_back = gr.Checkbox(True, label="Paste back original")
|