fantaxy commited on
Commit
728d17c
·
verified ·
1 Parent(s): d65ad28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -521,10 +521,10 @@ def generate_image(prompt):
521
 
522
  # 고정된 설정값
523
  negative_prompt = "cartoonish, low resolution, blurry, simplistic, abstract, deformed, ugly, (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, disgusting, amputation"
524
- width = 512
525
- height = 512
526
- guidance_scale = 6
527
- num_inference_steps = 100
528
  seed = random.randint(0, 2**32 - 1)
529
  generator = torch.Generator("cuda").manual_seed(seed)
530
 
 
521
 
522
  # 고정된 설정값
523
  negative_prompt = "cartoonish, low resolution, blurry, simplistic, abstract, deformed, ugly, (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, disgusting, amputation"
524
+ width = 1024
525
+ height = 1024
526
+ guidance_scale = 10
527
+ num_inference_steps = 150
528
  seed = random.randint(0, 2**32 - 1)
529
  generator = torch.Generator("cuda").manual_seed(seed)
530