Update app.py
Browse files
app.py
CHANGED
@@ -19,8 +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"A 4k image of {prompt_part1} {color}-colored {dress_type} with {design}, {prompt_part5}. The image should
|
23 |
-
|
24 |
if randomize_seed:
|
25 |
seed = random.randint(0, MAX_SEED)
|
26 |
|
@@ -101,7 +100,7 @@ with gr.Blocks(css=css) as demo:
|
|
101 |
)
|
102 |
|
103 |
prompt_part5 = gr.Textbox(
|
104 |
-
value="hanging on the plain wall",
|
105 |
label="Prompt Part 5",
|
106 |
show_label=False,
|
107 |
interactive=False,
|
|
|
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"A 4k image of {prompt_part1} {color}-colored {dress_type} with {design}, {prompt_part5}. The image should be divided into two parts like a collage, with the front view in one part and the back view in the other. Ensure both views are detailed, well-lit, and clearly show the continuity of the design from front to back."
|
|
|
23 |
if randomize_seed:
|
24 |
seed = random.randint(0, MAX_SEED)
|
25 |
|
|
|
100 |
)
|
101 |
|
102 |
prompt_part5 = gr.Textbox(
|
103 |
+
value="hanging on the plain grey wall",
|
104 |
label="Prompt Part 5",
|
105 |
show_label=False,
|
106 |
interactive=False,
|