Spaces:
Running
Running
Commit
·
ba31c3d
1
Parent(s):
5564ca3
Update app.py
Browse files
app.py
CHANGED
@@ -200,7 +200,7 @@ with image_blocks as demo:
|
|
200 |
with gr.Box():
|
201 |
with gr.Row():
|
202 |
with gr.Column():
|
203 |
-
image = gr.Image(source='upload', elem_id="image_upload",tool='sketch', type=f'{image_type}', label="Upload").style(mobile_collapse=False,
|
204 |
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
205 |
btn_in = gr.Button("Erase").style(
|
206 |
margin=True,
|
@@ -209,7 +209,7 @@ with image_blocks as demo:
|
|
209 |
)
|
210 |
|
211 |
with gr.Column():
|
212 |
-
image_out = gr.Image(label="Output", elem_id="image_output", visible=True).style(
|
213 |
btn_in.click(fn=predict, inputs=[image], outputs=[image_out])
|
214 |
|
215 |
image_blocks.launch()
|
|
|
200 |
with gr.Box():
|
201 |
with gr.Row():
|
202 |
with gr.Column():
|
203 |
+
image = gr.Image(source='upload', elem_id="image_upload",tool='sketch', type=f'{image_type}', label="Upload").style(mobile_collapse=False, width=768)
|
204 |
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
205 |
btn_in = gr.Button("Erase").style(
|
206 |
margin=True,
|
|
|
209 |
)
|
210 |
|
211 |
with gr.Column():
|
212 |
+
image_out = gr.Image(label="Output", elem_id="image_output", visible=True).style(width=768)
|
213 |
btn_in.click(fn=predict, inputs=[image], outputs=[image_out])
|
214 |
|
215 |
image_blocks.launch()
|