Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ MAX_SEED = np.iinfo(np.int32).max
|
|
19 |
MAX_IMAGE_SIZE = 1024
|
20 |
|
21 |
def infer(prompt_part1, color, dress_type, design, prompt_part5, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps):
|
22 |
-
prompt = f"{prompt_part1} {color} colored {dress_type} with {design} design {prompt_part5}"
|
23 |
|
24 |
if randomize_seed:
|
25 |
seed = random.randint(0, MAX_SEED)
|
|
|
19 |
MAX_IMAGE_SIZE = 1024
|
20 |
|
21 |
def infer(prompt_part1, color, dress_type, design, prompt_part5, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps):
|
22 |
+
prompt = f"{prompt_part1} {color} colored {dress_type} with {design} design, {prompt_part5}"
|
23 |
|
24 |
if randomize_seed:
|
25 |
seed = random.randint(0, MAX_SEED)
|