Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -126,12 +126,12 @@ with gr.Blocks(css="style.css") as app:
|
|
| 126 |
# Tab untuk Intpainting
|
| 127 |
with gr.Tab ("Inpainting"):
|
| 128 |
with gr.Row():
|
| 129 |
-
with gr.
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
generate_t2i = gr.Button("Generate", elem_id="generate_t2i", scale=0.13)
|
| 134 |
|
|
|
|
| 135 |
with gr.Column():
|
| 136 |
image = gr.ImageMask(sources=["upload"], layers=False, transforms=[], format="png", label="base image", show_label=True)
|
| 137 |
btn = gr.Button("Inpaint!", elem_id="run_button")
|
|
|
|
| 126 |
# Tab untuk Intpainting
|
| 127 |
with gr.Tab ("Inpainting"):
|
| 128 |
with gr.Row():
|
| 129 |
+
with gr.Column(scale=1):
|
| 130 |
+
prompt_inpainting = gr.Textbox(label="Prompt", placeholder="Enter Prompt", lines=2, elem_id="prompt-input")
|
| 131 |
+
neg_prompt_inpainting = gr.Textbox(label="Negative prompt", placeholder="Enter Negative Prompt (optional)", lines=2, elem_id="neg-prompt-input")
|
| 132 |
+
generate_t2i = gr.Button("Generate", elem_id="generate_t2i", scale=0.13)
|
|
|
|
| 133 |
|
| 134 |
+
with gr.Row():
|
| 135 |
with gr.Column():
|
| 136 |
image = gr.ImageMask(sources=["upload"], layers=False, transforms=[], format="png", label="base image", show_label=True)
|
| 137 |
btn = gr.Button("Inpaint!", elem_id="run_button")
|