Update app.py
Browse files
app.py
CHANGED
|
@@ -86,10 +86,10 @@ dataset = dataset.map(apply_transformations, with_indices=True)
|
|
| 86 |
|
| 87 |
# Definir parâmetros padrão para geração rápida
|
| 88 |
DEFAULT_PROMPT = "A beautiful brunette woman wearing a blue leather pants "
|
| 89 |
-
DEFAULT_INFERENCE_STEPS =
|
| 90 |
IMAGE_WIDTH = 512
|
| 91 |
IMAGE_HEIGHT = 812
|
| 92 |
-
GUIDANCE_SCALE =
|
| 93 |
|
| 94 |
def resize_to_divisible_by_8(image):
|
| 95 |
width, height = image.size
|
|
|
|
| 86 |
|
| 87 |
# Definir parâmetros padrão para geração rápida
|
| 88 |
DEFAULT_PROMPT = "A beautiful brunette woman wearing a blue leather pants "
|
| 89 |
+
DEFAULT_INFERENCE_STEPS = 5
|
| 90 |
IMAGE_WIDTH = 512
|
| 91 |
IMAGE_HEIGHT = 812
|
| 92 |
+
GUIDANCE_SCALE = 5
|
| 93 |
|
| 94 |
def resize_to_divisible_by_8(image):
|
| 95 |
width, height = image.size
|