LEIDIA commited on
Commit
5803c23
·
verified ·
1 Parent(s): 649a055

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = 10
90
  IMAGE_WIDTH = 512
91
  IMAGE_HEIGHT = 812
92
- GUIDANCE_SCALE = 10
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