Update app.py
Browse files
app.py
CHANGED
@@ -219,8 +219,8 @@ with gr.Blocks(css=css) as demo:
|
|
219 |
with gr.Tab("txt2img", id='t2i'):
|
220 |
with gr.Row():
|
221 |
with gr.Column(scale=6, min_width=600):
|
222 |
-
prompt = gr.Textbox("
|
223 |
-
negative_prompt = gr.Textbox(placeholder="Negative Prompt", show_label=False, lines=3, value="
|
224 |
with gr.Column():
|
225 |
text_button = gr.Button("Generate", variant='primary', elem_id="generate")
|
226 |
|
@@ -255,8 +255,8 @@ with gr.Blocks(css=css) as demo:
|
|
255 |
with gr.Tab("img2img", id='i2i'):
|
256 |
with gr.Row():
|
257 |
with gr.Column(scale=6, min_width=600):
|
258 |
-
i2i_prompt = gr.Textbox("
|
259 |
-
i2i_negative_prompt = gr.Textbox(placeholder="Negative Prompt", show_label=False, lines=3, value="
|
260 |
with gr.Column():
|
261 |
i2i_text_button = gr.Button("Generate", variant='primary', elem_id="generate")
|
262 |
|
|
|
219 |
with gr.Tab("txt2img", id='t2i'):
|
220 |
with gr.Row():
|
221 |
with gr.Column(scale=6, min_width=600):
|
222 |
+
prompt = gr.Textbox("", placeholder="Prompt", show_label=False, lines=3)
|
223 |
+
negative_prompt = gr.Textbox(placeholder="Negative Prompt", show_label=False, lines=3, value="[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry")
|
224 |
with gr.Column():
|
225 |
text_button = gr.Button("Generate", variant='primary', elem_id="generate")
|
226 |
|
|
|
255 |
with gr.Tab("img2img", id='i2i'):
|
256 |
with gr.Row():
|
257 |
with gr.Column(scale=6, min_width=600):
|
258 |
+
i2i_prompt = gr.Textbox("", placeholder="Prompt", show_label=False, lines=3)
|
259 |
+
i2i_negative_prompt = gr.Textbox(placeholder="Negative Prompt", show_label=False, lines=3, value="[deformed | disfigured], poorly drawn, [bad : wrong] anatomy, [extra | missing | floating | disconnected] limb, (mutated hands and fingers), blurry")
|
260 |
with gr.Column():
|
261 |
i2i_text_button = gr.Button("Generate", variant='primary', elem_id="generate")
|
262 |
|