Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ with image_blocks as demo:
|
|
80 |
gr.HTML(read_content("header.html"))
|
81 |
with gr.Row():
|
82 |
with gr.Column():
|
83 |
-
image = gr.Image(
|
84 |
with gr.Row(elem_id="prompt-container", mobile_collapse=False, equal_height=True):
|
85 |
with gr.Row():
|
86 |
prompt = gr.Textbox(placeholder="Your prompt (what you want in place of what is erased)", show_label=False, elem_id="prompt")
|
|
|
80 |
gr.HTML(read_content("header.html"))
|
81 |
with gr.Row():
|
82 |
with gr.Column():
|
83 |
+
image = gr.Image(sources='upload', tool='sketch', elem_id="image_upload", type="pil", label="Upload",height=400)
|
84 |
with gr.Row(elem_id="prompt-container", mobile_collapse=False, equal_height=True):
|
85 |
with gr.Row():
|
86 |
prompt = gr.Textbox(placeholder="Your prompt (what you want in place of what is erased)", show_label=False, elem_id="prompt")
|