Spaces:
Runtime error
Runtime error
Change Space ID
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ from model import Model, download_all_controlnet_weights
|
|
46 |
DESCRIPTION = '# [ControlNet](https://github.com/lllyasviel/ControlNet) + [Anything-v4.0](https://huggingface.co/andite/anything-v4.0)'
|
47 |
|
48 |
SPACE_ID = os.getenv('SPACE_ID')
|
49 |
-
ALLOW_CHANGING_BASE_MODEL = SPACE_ID != 'hysts/ControlNet-with-
|
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>'
|
|
|
46 |
DESCRIPTION = '# [ControlNet](https://github.com/lllyasviel/ControlNet) + [Anything-v4.0](https://huggingface.co/andite/anything-v4.0)'
|
47 |
|
48 |
SPACE_ID = os.getenv('SPACE_ID')
|
49 |
+
ALLOW_CHANGING_BASE_MODEL = SPACE_ID != 'hysts/ControlNet-with-Anything-v4'
|
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>'
|