hysts HF staff commited on
Commit
6229e30
1 Parent(s): b3f1d2d
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ SPACE_ID = os.getenv('SPACE_ID')
49
  ALLOW_CHANGING_BASE_MODEL = SPACE_ID != 'hysts/ControlNet'
50
 
51
  if SPACE_ID is not None:
52
- DESCRIPTION += f'<p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings. <a href="https://huggingface.co/spaces/{SPACE_ID}?duplicate=true"><img style="display: inline; margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space" /></a></p>'
53
 
54
  MAX_IMAGES = int(os.getenv('MAX_IMAGES', '3'))
55
  DEFAULT_NUM_IMAGES = min(MAX_IMAGES, int(os.getenv('DEFAULT_NUM_IMAGES', '1')))
 
49
  ALLOW_CHANGING_BASE_MODEL = SPACE_ID != 'hysts/ControlNet'
50
 
51
  if SPACE_ID is not None:
52
+ DESCRIPTION += f'\n<p>For faster inference without waiting in queue, you may duplicate the space and upgrade to GPU in settings. <a href="https://huggingface.co/spaces/{SPACE_ID}?duplicate=true"><img style="display: inline; margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space" /></a></p>'
53
 
54
  MAX_IMAGES = int(os.getenv('MAX_IMAGES', '3'))
55
  DEFAULT_NUM_IMAGES = min(MAX_IMAGES, int(os.getenv('DEFAULT_NUM_IMAGES', '1')))