hysts HF staff commited on
Commit
a8852a3
1 Parent(s): 701868f
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -49,8 +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
 
55
  MAX_IMAGES = int(os.getenv('MAX_IMAGES', '3'))
56
  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'<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')))