Update app.py
Browse files
app.py
CHANGED
@@ -41,10 +41,10 @@ dataset_descriptions = [
|
|
41 |
|
42 |
# Definir parâmetros padrão para geração rápida
|
43 |
DEFAULT_PROMPT = "A beautiful brunette woman wearing a blue leather pants "
|
44 |
-
DEFAULT_INFERENCE_STEPS =
|
45 |
IMAGE_WIDTH = 512
|
46 |
IMAGE_HEIGHT = 812
|
47 |
-
GUIDANCE_SCALE = 10
|
48 |
|
49 |
def resize_to_divisible_by_8(image):
|
50 |
width, height = image.size
|
|
|
41 |
|
42 |
# Definir parâmetros padrão para geração rápida
|
43 |
DEFAULT_PROMPT = "A beautiful brunette woman wearing a blue leather pants "
|
44 |
+
DEFAULT_INFERENCE_STEPS = 10
|
45 |
IMAGE_WIDTH = 512
|
46 |
IMAGE_HEIGHT = 812
|
47 |
+
GUIDANCE_SCALE = 10
|
48 |
|
49 |
def resize_to_divisible_by_8(image):
|
50 |
width, height = image.size
|