hysts HF Staff commited on
Commit
dbae926
·
1 Parent(s): b9888ca

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/NVlabs/stylegan3'
20
  TITLE = 'NVlabs/stylegan3'
21
- DESCRIPTION = f'This is a demo for {ORIGINAL_REPO_URL}.'
 
 
 
22
  SAMPLE_IMAGE_DIR = 'https://huggingface.co/spaces/hysts/StyleGAN3/resolve/main/samples'
23
  ARTICLE = f'''## Generated images
24
  - truncation: 0.7
@@ -42,6 +44,8 @@ ARTICLE = f'''## Generated images
42
  - size: 1024x1024
43
  - seed: 0-99
44
  ![MetFaces-U samples]({SAMPLE_IMAGE_DIR}/metfaces-u.jpg)
 
 
45
  '''
46
 
47
  TOKEN = os.environ['TOKEN']
 
16
 
17
  sys.path.insert(0, 'stylegan3')
18
 
 
19
  TITLE = 'NVlabs/stylegan3'
20
+ DESCRIPTION = '''This is an unofficial demo for https://github.com/NVlabs/stylegan3.
21
+
22
+ Expected execution time on Hugging Face Spaces: 50s
23
+ '''
24
  SAMPLE_IMAGE_DIR = 'https://huggingface.co/spaces/hysts/StyleGAN3/resolve/main/samples'
25
  ARTICLE = f'''## Generated images
26
  - truncation: 0.7
 
44
  - size: 1024x1024
45
  - seed: 0-99
46
  ![MetFaces-U samples]({SAMPLE_IMAGE_DIR}/metfaces-u.jpg)
47
+
48
+ <center><img src="https://visitor-badge.glitch.me/badge?page_id=hysts.stylegan3" alt="visitor badge"/></center>
49
  '''
50
 
51
  TOKEN = os.environ['TOKEN']