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