Update
Browse files- settings.py +3 -3
settings.py
CHANGED
@@ -3,9 +3,9 @@ import os
|
|
3 |
DEFAULT_MODEL_ID = os.getenv('DEFAULT_MODEL_ID',
|
4 |
'runwayml/stable-diffusion-v1-5')
|
5 |
|
6 |
-
ALLOW_CHANGING_BASE_MODEL = os.getenv('SPACE_ID') != 'hysts/ControlNet-v1-1'
|
7 |
-
SHOW_DUPLICATE_BUTTON = os.getenv('SHOW_DUPLICATE_BUTTON') == '1'
|
8 |
-
|
9 |
MAX_NUM_IMAGES = int(os.getenv('MAX_NUM_IMAGES', '3'))
|
10 |
DEFAULT_NUM_IMAGES = min(MAX_NUM_IMAGES,
|
11 |
int(os.getenv('DEFAULT_NUM_IMAGES', '1')))
|
|
|
|
|
|
|
|
3 |
DEFAULT_MODEL_ID = os.getenv('DEFAULT_MODEL_ID',
|
4 |
'runwayml/stable-diffusion-v1-5')
|
5 |
|
|
|
|
|
|
|
6 |
MAX_NUM_IMAGES = int(os.getenv('MAX_NUM_IMAGES', '3'))
|
7 |
DEFAULT_NUM_IMAGES = min(MAX_NUM_IMAGES,
|
8 |
int(os.getenv('DEFAULT_NUM_IMAGES', '1')))
|
9 |
+
|
10 |
+
ALLOW_CHANGING_BASE_MODEL = os.getenv('SPACE_ID') != 'hysts/ControlNet-v1-1'
|
11 |
+
SHOW_DUPLICATE_BUTTON = os.getenv('SHOW_DUPLICATE_BUTTON') == '1'
|