hysts HF staff commited on
Commit
e5605f3
1 Parent(s): 5d660ba

Add sample images

Browse files
.gitattributes CHANGED
@@ -1,3 +1,4 @@
 
1
  *.7z filter=lfs diff=lfs merge=lfs -text
2
  *.arrow filter=lfs diff=lfs merge=lfs -text
3
  *.bin filter=lfs diff=lfs merge=lfs -text
 
1
+ *.jpg filter=lfs diff=lfs merge=lfs -text
2
  *.7z filter=lfs diff=lfs merge=lfs -text
3
  *.arrow filter=lfs diff=lfs merge=lfs -text
4
  *.bin filter=lfs diff=lfs merge=lfs -text
app.py CHANGED
@@ -24,7 +24,21 @@ from models.generator import Generator
24
  REPO_URL = 'https://github.com/microsoft/StyleSwin'
25
  TITLE = 'microsoft/StyleSwin'
26
  DESCRIPTION = f'A demo for {REPO_URL}'
27
- ARTICLE = None
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
  TOKEN = os.environ['TOKEN']
30
 
 
24
  REPO_URL = 'https://github.com/microsoft/StyleSwin'
25
  TITLE = 'microsoft/StyleSwin'
26
  DESCRIPTION = f'A demo for {REPO_URL}'
27
+ SAMPLE_IMAGE_DIR = 'https://huggingface.co/spaces/hysts/StyleSwin/resolve/main/samples'
28
+ ARTICLE = f'''## Generated images
29
+ ### CelebA-HQ
30
+ - size: 1024x1024
31
+ - seed: 0-99
32
+ ![CelebA-HQ samples]({SAMPLE_IMAGE_DIR}/celeba-hq.jpg)
33
+ ### FFHQ
34
+ - size: 1024x1024
35
+ - seed: 0-99
36
+ ![FFHQ samples]({SAMPLE_IMAGE_DIR}/ffhq.jpg)
37
+ ### LSUN Church
38
+ - size: 256x256
39
+ - seed: 0-99
40
+ ![LSUN Church samples]({SAMPLE_IMAGE_DIR}/lsun-church.jpg)
41
+ '''
42
 
43
  TOKEN = os.environ['TOKEN']
44
 
samples/celeba-hq.jpg ADDED

Git LFS Details

  • SHA256: 5adb61e730dda247054e490dec50d0523c2c247cf0471be3614225c89c79c66e
  • Pointer size: 133 Bytes
  • Size of remote file: 16.9 MB
samples/ffhq.jpg ADDED

Git LFS Details

  • SHA256: 1a64fb6ca3aa72251735ec1875582665548b76578d8acba019ffac3efaa55602
  • Pointer size: 133 Bytes
  • Size of remote file: 20.1 MB
samples/lsun-church.jpg ADDED

Git LFS Details

  • SHA256: f3ac47171b2e566ed2b4783708b6092cfdcd652e86c0b5e6aa1277fe4439a510
  • Pointer size: 132 Bytes
  • Size of remote file: 2.68 MB