Spaces:
Running
Running
yizhangliu
commited on
Commit
•
4a29657
1
Parent(s):
98baf00
Update app.py
Browse files
app.py
CHANGED
@@ -249,8 +249,8 @@ print(f'liuyz_500_here_')
|
|
249 |
|
250 |
css = '''
|
251 |
.container {max-width: 1150px;margin: auto;padding-top: 1.5rem}
|
252 |
-
#image_upload{min-height:
|
253 |
-
#image_upload [data-testid="image"], #image_upload [data-testid="image"] > div{min-height:
|
254 |
#mask_radio .gr-form{background:transparent; border: none}
|
255 |
#word_mask{margin-top: .75em !important}
|
256 |
#word_mask textarea:disabled{opacity: 0.3}
|
@@ -335,7 +335,7 @@ with image_blocks as demo:
|
|
335 |
with gr.Box():
|
336 |
with gr.Row():
|
337 |
with gr.Column():
|
338 |
-
image = gr.Image(source='upload', tool='sketch', elem_id="image_upload", label="Upload")
|
339 |
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
340 |
# prompt = gr.Textbox(placeholder = 'Your prompt (what you want in place of what is erased)', show_label=False, elem_id="input-text")
|
341 |
btn = gr.Button("Done!").style(
|
@@ -345,7 +345,7 @@ with image_blocks as demo:
|
|
345 |
)
|
346 |
|
347 |
with gr.Column():
|
348 |
-
image_out = gr.Image(label="Output").style(height=
|
349 |
'''
|
350 |
with gr.Group(elem_id="share-btn-container"):
|
351 |
community_icon = gr.HTML(community_icon_html, visible=False)
|
|
|
249 |
|
250 |
css = '''
|
251 |
.container {max-width: 1150px;margin: auto;padding-top: 1.5rem}
|
252 |
+
#image_upload{min-height:512px}
|
253 |
+
#image_upload [data-testid="image"], #image_upload [data-testid="image"] > div{min-height: 512px}
|
254 |
#mask_radio .gr-form{background:transparent; border: none}
|
255 |
#word_mask{margin-top: .75em !important}
|
256 |
#word_mask textarea:disabled{opacity: 0.3}
|
|
|
335 |
with gr.Box():
|
336 |
with gr.Row():
|
337 |
with gr.Column():
|
338 |
+
image = gr.Image(source='upload', tool='sketch', elem_id="image_upload", label="Upload").style(height=512)
|
339 |
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
340 |
# prompt = gr.Textbox(placeholder = 'Your prompt (what you want in place of what is erased)', show_label=False, elem_id="input-text")
|
341 |
btn = gr.Button("Done!").style(
|
|
|
345 |
)
|
346 |
|
347 |
with gr.Column():
|
348 |
+
image_out = gr.Image(label="Output").style(height=512)
|
349 |
'''
|
350 |
with gr.Group(elem_id="share-btn-container"):
|
351 |
community_icon = gr.HTML(community_icon_html, visible=False)
|