hysts commited on
Commit
7a9fb86
1 Parent(s): a5bffe4

Update description

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -16,9 +16,11 @@ from huggingface_hub import hf_hub_download
16
 
17
  sys.path.insert(0, 'stylegan3')
18
 
19
- ORIGINAL_REPO_URL = 'https://github.com/self-distilled-stylegan/self-distilled-internet-photos'
20
  TITLE = 'Self-Distilled StyleGAN'
21
- DESCRIPTION = f'This is a demo for models provided in {ORIGINAL_REPO_URL}.'
 
 
 
22
  SAMPLE_IMAGE_DIR = 'https://huggingface.co/spaces/hysts/Self-Distilled-StyleGAN/resolve/main/samples'
23
  ARTICLE = f'''## Generated images
24
  - truncation: 0.7
@@ -50,6 +52,8 @@ ARTICLE = f'''## Generated images
50
  - size: 512x512
51
  - seed: 0-99
52
  ![Parrots]({SAMPLE_IMAGE_DIR}/parrots.jpg)
 
 
53
  '''
54
 
55
  TOKEN = os.environ['TOKEN']
 
16
 
17
  sys.path.insert(0, 'stylegan3')
18
 
 
19
  TITLE = 'Self-Distilled StyleGAN'
20
+ DESCRIPTION = '''This is an unofficial demo for models provided in https://github.com/self-distilled-stylegan/self-distilled-internet-photos.
21
+
22
+ Expected execution time on Hugging Face Spaces: 2s
23
+ '''
24
  SAMPLE_IMAGE_DIR = 'https://huggingface.co/spaces/hysts/Self-Distilled-StyleGAN/resolve/main/samples'
25
  ARTICLE = f'''## Generated images
26
  - truncation: 0.7
 
52
  - size: 512x512
53
  - seed: 0-99
54
  ![Parrots]({SAMPLE_IMAGE_DIR}/parrots.jpg)
55
+
56
+ <center><img src="https://visitor-badge.glitch.me/badge?page_id=hysts.self-distilled-stylegan" alt="visitor badge"/></center>
57
  '''
58
 
59
  TOKEN = os.environ['TOKEN']