Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -67,7 +67,7 @@ div#share-btn-container > div {flex-direction: row;background: black;align-items
|
|
| 67 |
#share-btn-container .wrap {display: none !important}
|
| 68 |
#share-btn-container.hidden {display: none!important}
|
| 69 |
#prompt input{width: calc(100% - 160px);border-top-right-radius: 0px;border-bottom-right-radius: 0px;}
|
| 70 |
-
#run_button{position:absolute;margin-top:
|
| 71 |
border-top-left-radius: 0px;}
|
| 72 |
#prompt-container{margin-top:-18px;}
|
| 73 |
#prompt-container .form{border-top-left-radius: 0;border-top-right-radius: 0}
|
|
@@ -80,10 +80,10 @@ with image_blocks as demo:
|
|
| 80 |
with gr.Row():
|
| 81 |
with gr.Column():
|
| 82 |
image = gr.Image(source='upload', tool='sketch', elem_id="image_upload", type="pil", label="Upload",height=400)
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
|
| 88 |
with gr.Accordion(label="Advanced Settings", open=False):
|
| 89 |
with gr.Row(equal_height=True):
|
|
|
|
| 67 |
#share-btn-container .wrap {display: none !important}
|
| 68 |
#share-btn-container.hidden {display: none!important}
|
| 69 |
#prompt input{width: calc(100% - 160px);border-top-right-radius: 0px;border-bottom-right-radius: 0px;}
|
| 70 |
+
#run_button{position:absolute;margin-top: 15px;right: 0;margin-right: 0.8em;border-bottom-left-radius: 0px;
|
| 71 |
border-top-left-radius: 0px;}
|
| 72 |
#prompt-container{margin-top:-18px;}
|
| 73 |
#prompt-container .form{border-top-left-radius: 0;border-top-right-radius: 0}
|
|
|
|
| 80 |
with gr.Row():
|
| 81 |
with gr.Column():
|
| 82 |
image = gr.Image(source='upload', tool='sketch', elem_id="image_upload", type="pil", label="Upload",height=400)
|
| 83 |
+
with gr.Row(elem_id="prompt-container",equal_height=True):
|
| 84 |
+
with gr.Row():
|
| 85 |
+
prompt = gr.Textbox(placeholder="Your prompt", show_label=False, elem_id="prompt")
|
| 86 |
+
btn = gr.Button("Inpaint!", elem_id="run_button")
|
| 87 |
|
| 88 |
with gr.Accordion(label="Advanced Settings", open=False):
|
| 89 |
with gr.Row(equal_height=True):
|