selfitcamera commited on
Commit
513122c
·
1 Parent(s): f16cafc
Datas/ClothImgs/586.jpg ADDED

Git LFS Details

  • SHA256: 7cc3a7052c6777652a277c59cf0a818c1891093414c726846e7411936139e786
  • Pointer size: 131 Bytes
  • Size of remote file: 130 kB
Datas/ClothImgs/587.jpg ADDED

Git LFS Details

  • SHA256: e23d68aa959fc2da4daef78821de5f0c02cfbbdd52c78792c06eb54c4abb2729
  • Pointer size: 131 Bytes
  • Size of remote file: 131 kB
Datas/ClothImgs/588.jpg ADDED

Git LFS Details

  • SHA256: c32c4029eb3ff8ee1e5827d0963984f9a4741b11423da9109068a365d161648a
  • Pointer size: 131 Bytes
  • Size of remote file: 108 kB
Datas/ClothImgs/589.jpg ADDED

Git LFS Details

  • SHA256: dd32c15361689be2fa3c681a670f6c1cb4636049302476ac530aaa59016c29d4
  • Pointer size: 131 Bytes
  • Size of remote file: 106 kB
Datas/ClothImgs/590.jpg ADDED

Git LFS Details

  • SHA256: 47df1e5ebb35e857e930556fc67be4464db1f4e9da09bebcad416087d3e6737d
  • Pointer size: 131 Bytes
  • Size of remote file: 131 kB
Datas/ClothImgs/591.jpg ADDED

Git LFS Details

  • SHA256: c35e9e3282b5f84d07fe8a8f92daee76f9468536ff22b6d0039e76545877c855
  • Pointer size: 131 Bytes
  • Size of remote file: 108 kB
Datas/ClothImgs/592.jpg ADDED

Git LFS Details

  • SHA256: d3a9481dbdfd018a8b251a837c86588e4eda5c3a3cf5188af035e8971e23d0e5
  • Pointer size: 131 Bytes
  • Size of remote file: 159 kB
Datas/ClothImgs/593.jpg ADDED

Git LFS Details

  • SHA256: d0a89df5fffeaa47b4c44ca330de35c518e3fa4bd750b9b14a432522517642f0
  • Pointer size: 131 Bytes
  • Size of remote file: 125 kB
Datas/ClothImgs/594.jpg ADDED

Git LFS Details

  • SHA256: 2f078b71e54f9e3860edcbb0c6e157098ade9b53f3368fe9b1c6112be7a61ea7
  • Pointer size: 130 Bytes
  • Size of remote file: 32.2 kB
Datas/ClothImgs/595.jpg ADDED

Git LFS Details

  • SHA256: e4669e1fe1cce6667de8020eb4f349b24a401e6c168e99d8bed9ae483259d669
  • Pointer size: 130 Bytes
  • Size of remote file: 60.9 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,8 +91,8 @@ 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=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():
98
  pose_image = gr.Image(value=None, type="filepath", label="choose/upload a photo")
 
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="clothing")
96
 
97
  with gr.Column():
98
  pose_image = gr.Image(value=None, type="filepath", label="choose/upload a photo")
utils.py CHANGED
@@ -30,7 +30,8 @@ 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, 570, 573, 574, 569, ]
 
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
+ hr_clothes = []
35
  for f in files:
36
  if '.jpg' not in f and '.png' not in f:
37
  continue