Spaces:
Running
Running
yizhangliu
commited on
Commit
·
197179b
1
Parent(s):
c5e6841
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='
|
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(
|
|
|
313 |
with gr.Box():
|
314 |
with gr.Row():
|
315 |
with gr.Column():
|
316 |
+
image = gr.Image(source='upload', elem_id="image_upload", tool='editor', 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(
|