Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def get_inpainted_img(image, mask, image_resolution):
text_prompt = gr.Textbox(label="Text Prompt")
lama = gr.Button("Inpaint Image", variant="primary")
replace_sd = gr.Button("Replace Anything with SD", variant="primary")
clear_button_image = gr.Button(value="Reset", label="Reset", variant="secondary")
clear_button_image = gr.Button(value="Reset", label="Reset", variant="secondary") if hasattr(gr.Button, 'label') else gr.Button(value="Reset", variant="secondary")

# todo: maybe we can delete this row, for it's unnecessary to show the original mask for customers
with gr.Row(variant="panel"):
Expand Down