Update app.py
Browse files
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 =
|
525 |
-
height =
|
526 |
-
guidance_scale =
|
527 |
-
num_inference_steps =
|
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 |
|