selfitcamera commited on
Commit
c840893
·
1 Parent(s): ea2f865
Datas/ClothImgs/569.jpg ADDED

Git LFS Details

  • SHA256: fb2a516ac1e4dc1447ff007b17ed7a969b45544aad5d1f6c3d2938976c78a840
  • Pointer size: 130 Bytes
  • Size of remote file: 89.2 kB
Datas/ClothImgs/570.jpg ADDED

Git LFS Details

  • SHA256: f9f12918debce1e09a34e53ae75b6235fa00f47aa8cbe1f0800bc394b31f6cd2
  • Pointer size: 130 Bytes
  • Size of remote file: 92.3 kB
Datas/ClothImgs/573.jpg ADDED

Git LFS Details

  • SHA256: 497ab6320b889c794be584ed1db82fc4af847e6c1d3a2f4806845b469aed9257
  • Pointer size: 130 Bytes
  • Size of remote file: 51.9 kB
Datas/ClothImgs/574.jpg ADDED

Git LFS Details

  • SHA256: e195cf59667b21e5e76e144b763745f8c8552151aff5ff349202e11d79a16751
  • Pointer size: 131 Bytes
  • Size of remote file: 134 kB
__pycache__/utils.cpython-310.pyc CHANGED
Binary files a/__pycache__/utils.cpython-310.pyc and b/__pycache__/utils.cpython-310.pyc differ
 
app.py CHANGED
@@ -91,7 +91,7 @@ with gr.Blocks() as demo:
91
  with gr.Row():
92
  with gr.Column():
93
  cloth_image = gr.Image(value=None, interactive=False, type="filepath", label="choose a clothing")
94
- hr_example = gr.Examples(inputs=cloth_image,examples_per_page=3,examples=cloth_hr_examples, label="hight resolution clothing")
95
  example = gr.Examples(inputs=cloth_image,examples_per_page=20,examples=cloth_examples, label="normal clothing")
96
 
97
  with gr.Column():
 
91
  with gr.Row():
92
  with gr.Column():
93
  cloth_image = gr.Image(value=None, interactive=False, type="filepath", label="choose a clothing")
94
+ hr_example = gr.Examples(inputs=cloth_image,examples_per_page=9,examples=cloth_hr_examples, label="hight resolution clothing")
95
  example = gr.Examples(inputs=cloth_image,examples_per_page=20,examples=cloth_examples, label="normal clothing")
96
 
97
  with gr.Column():
utils.py CHANGED
@@ -30,7 +30,7 @@ def get_cloth_examples(hr=0):
30
  cloth_dir = os.path.join(data_dir, 'ClothImgs')
31
  examples = []
32
  files = sorted(os.listdir(cloth_dir))
33
- hr_clothes = [507, 508]
34
  for f in files:
35
  if '.jpg' not in f and '.png' not in f:
36
  continue
 
30
  cloth_dir = os.path.join(data_dir, 'ClothImgs')
31
  examples = []
32
  files = sorted(os.listdir(cloth_dir))
33
+ hr_clothes = [507, 508, 570, 573, 574, 569, ]
34
  for f in files:
35
  if '.jpg' not in f and '.png' not in f:
36
  continue