Spaces:
Running
Running
yizhangliu
commited on
Commit
•
1e89a07
1
Parent(s):
5534598
Update app.py
Browse files
app.py
CHANGED
@@ -452,7 +452,7 @@ with image_blocks as demo:
|
|
452 |
with gr.Box():
|
453 |
with gr.Row():
|
454 |
with gr.Column():
|
455 |
-
image = gr.Image(source='upload', tool='sketch', type='
|
456 |
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
457 |
# prompt = gr.Textbox(placeholder = 'Your prompt (what you want in place of what is erased)', show_label=False, elem_id="input-text")
|
458 |
btn = gr.Button("Done!").style(
|
|
|
452 |
with gr.Box():
|
453 |
with gr.Row():
|
454 |
with gr.Column():
|
455 |
+
image = gr.Image(source='upload', tool='sketch', type='filepath',label="Upload").style(height=512)
|
456 |
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
457 |
# prompt = gr.Textbox(placeholder = 'Your prompt (what you want in place of what is erased)', show_label=False, elem_id="input-text")
|
458 |
btn = gr.Button("Done!").style(
|