Astridkraft commited on
Commit
51bcfeb
·
verified ·
1 Parent(s): ff2f82c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -206,9 +206,9 @@ def img_to_image(image, prompt, neg_prompt, strength, steps, guidance_scale, fac
206
  img_resized = image.convert("RGB").resize((IMG_SIZE, IMG_SIZE))
207
 
208
  # --- PARAMETER-TUNING ---
209
- #adj_strength = min(0.85, strength * 1.3)
210
  adj_guidance = min(guidance_scale, 7.0)
211
- adj_strength = min(0.85, strength)
212
 
213
  # ZUFÄLLIGER SEED für Variation
214
  seed = random.randint(0, 2**32 - 1)
 
206
  img_resized = image.convert("RGB").resize((IMG_SIZE, IMG_SIZE))
207
 
208
  # --- PARAMETER-TUNING ---
209
+ adj_strength = min(0.85, strength * 1.3) #die optimierten Werte von GPT, Grok sind nicht optimal besser strength vergrößern!
210
  adj_guidance = min(guidance_scale, 7.0)
211
+
212
 
213
  # ZUFÄLLIGER SEED für Variation
214
  seed = random.randint(0, 2**32 - 1)