Spaces:
Runtime error
Runtime error
Commit
β’
432aec8
1
Parent(s):
3885205
Update run/gradio_ootd.py
Browse files- run/gradio_ootd.py +4 -4
run/gradio_ootd.py
CHANGED
@@ -197,7 +197,7 @@ with block:
|
|
197 |
examples=[
|
198 |
os.path.join(example_path, 'model/model_8.png'),
|
199 |
# os.path.join(example_path, 'model/049447_0.jpg'),
|
200 |
-
os.path.join(example_path, 'model/049713_0.jpg')
|
201 |
# os.path.join(example_path, 'model/051482_0.jpg'),
|
202 |
# os.path.join(example_path, 'model/051918_0.jpg'),
|
203 |
# os.path.join(example_path, 'model/051962_0.jpg'),
|
@@ -212,7 +212,7 @@ with block:
|
|
212 |
os.path.join(example_path, 'model/model_9.png'),
|
213 |
# os.path.join(example_path, 'model/052767_0.jpg'),
|
214 |
# os.path.join(example_path, 'model/052472_0.jpg'),
|
215 |
-
os.path.join(example_path, 'model/053514_0.jpg')
|
216 |
# os.path.join(example_path, 'model/053228_0.jpg'),
|
217 |
# os.path.join(example_path, 'model/052964_0.jpg'),
|
218 |
# os.path.join(example_path, 'model/053700_0.jpg'),
|
@@ -282,8 +282,8 @@ with block:
|
|
282 |
image_scale_dc = gr.Slider(label="Guidance scale", minimum=1.0, maximum=5.0, value=2.0, step=0.1)
|
283 |
seed_dc = gr.Slider(label="Seed", minimum=-1, maximum=2147483647, step=1, value=-1)
|
284 |
|
285 |
-
ips_dc = [vton_img_dc, garm_img_dc, category_dc, n_samples_dc, n_steps_dc, image_scale_dc, seed_dc]
|
286 |
-
run_button_dc.click(fn=process_dc, inputs=ips_dc, outputs=[result_gallery_dc])
|
287 |
|
288 |
|
289 |
block.launch()
|
|
|
197 |
examples=[
|
198 |
os.path.join(example_path, 'model/model_8.png'),
|
199 |
# os.path.join(example_path, 'model/049447_0.jpg'),
|
200 |
+
os.path.join(example_path, 'model/049713_0.jpg'),
|
201 |
# os.path.join(example_path, 'model/051482_0.jpg'),
|
202 |
# os.path.join(example_path, 'model/051918_0.jpg'),
|
203 |
# os.path.join(example_path, 'model/051962_0.jpg'),
|
|
|
212 |
os.path.join(example_path, 'model/model_9.png'),
|
213 |
# os.path.join(example_path, 'model/052767_0.jpg'),
|
214 |
# os.path.join(example_path, 'model/052472_0.jpg'),
|
215 |
+
os.path.join(example_path, 'model/053514_0.jpg'),
|
216 |
# os.path.join(example_path, 'model/053228_0.jpg'),
|
217 |
# os.path.join(example_path, 'model/052964_0.jpg'),
|
218 |
# os.path.join(example_path, 'model/053700_0.jpg'),
|
|
|
282 |
image_scale_dc = gr.Slider(label="Guidance scale", minimum=1.0, maximum=5.0, value=2.0, step=0.1)
|
283 |
seed_dc = gr.Slider(label="Seed", minimum=-1, maximum=2147483647, step=1, value=-1)
|
284 |
|
285 |
+
ips_dc = [vton_img_dc, garm_img_dc, category_dc, n_samples_dc, n_steps_dc, image_scale_dc, seed_dc]
|
286 |
+
run_button_dc.click(fn=process_dc, inputs=ips_dc, outputs=[result_gallery_dc])
|
287 |
|
288 |
|
289 |
block.launch()
|