Spaces:
Running
Running
yizhangliu
commited on
Commit
·
3567a33
1
Parent(s):
32d9c0d
Update app.py
Browse files
app.py
CHANGED
@@ -313,7 +313,7 @@ with image_blocks as demo:
|
|
313 |
with gr.Box():
|
314 |
with gr.Row():
|
315 |
with gr.Column():
|
316 |
-
image = gr.Image(source='upload', elem_id="image_upload", tool='sketch', type=f'{image_type}', label="Upload")
|
317 |
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
318 |
# prompt = gr.Textbox(placeholder = 'Your prompt (what you want in place of what is erased)', show_label=False, elem_id="input-text")
|
319 |
btn_in = gr.Button("Done!").style(
|
@@ -323,7 +323,7 @@ with image_blocks as demo:
|
|
323 |
)
|
324 |
|
325 |
with gr.Column():
|
326 |
-
image_out = gr.Image(label="Output", elem_id="image_output", visible=True)
|
327 |
'''
|
328 |
with gr.Group(elem_id="share-btn-container"):
|
329 |
community_icon = gr.HTML(community_icon_html, visible=False)
|
|
|
313 |
with gr.Box():
|
314 |
with gr.Row():
|
315 |
with gr.Column():
|
316 |
+
image = gr.Image(source='upload', elem_id="image_upload", tool='sketch', type=f'{image_type}', label="Upload").style(height=512)
|
317 |
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
318 |
# prompt = gr.Textbox(placeholder = 'Your prompt (what you want in place of what is erased)', show_label=False, elem_id="input-text")
|
319 |
btn_in = gr.Button("Done!").style(
|
|
|
323 |
)
|
324 |
|
325 |
with gr.Column():
|
326 |
+
image_out = gr.Image(label="Output", elem_id="image_output", visible=True).style(height=512)
|
327 |
'''
|
328 |
with gr.Group(elem_id="share-btn-container"):
|
329 |
community_icon = gr.HTML(community_icon_html, visible=False)
|