Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ def pref_inpainting(image,
|
|
73 |
|
74 |
inputs = [
|
75 |
gr.Image(type="pil", image_mode="RGBA", label='Input Image'), # shape=[512, 512]
|
76 |
-
gr.Slider(
|
77 |
gr.Slider(0, 256, value=125, step=1, label="mask_random_start"),
|
78 |
gr.Slider(30, 100, value=50, step=5, label="steps"),
|
79 |
]
|
@@ -85,7 +85,7 @@ outputs = [
|
|
85 |
|
86 |
files = os.listdir("./assets")
|
87 |
examples = [
|
88 |
-
[f"./assets/{file_name}",
|
89 |
]
|
90 |
|
91 |
|
|
|
73 |
|
74 |
inputs = [
|
75 |
gr.Image(type="pil", image_mode="RGBA", label='Input Image'), # shape=[512, 512]
|
76 |
+
gr.Slider(25, 45, value=35, step=1, label="box_width_ratio"),
|
77 |
gr.Slider(0, 256, value=125, step=1, label="mask_random_start"),
|
78 |
gr.Slider(30, 100, value=50, step=5, label="steps"),
|
79 |
]
|
|
|
85 |
|
86 |
files = os.listdir("./assets")
|
87 |
examples = [
|
88 |
+
[f"./assets/{file_name}", 25, 125, 50] for file_name in files
|
89 |
]
|
90 |
|
91 |
|