kd5678 commited on
Commit
4b49fe7
1 Parent(s): 6ee04b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(30, 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,7 +85,7 @@ outputs = [
85
 
86
  files = os.listdir("./assets")
87
  examples = [
88
- [f"./assets/{file_name}", 35, 125, 50] for file_name in files
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