Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -435,12 +435,9 @@ with gr.Blocks() as build_app:
|
|
435 |
def_im = gr.Button("Load Default Image")
|
436 |
gen_im = gr.Button("Generate Image")
|
437 |
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
with gr.Column():
|
442 |
-
c_slider=gr.Slider(0,220,value=0,step=1,label="Adjust Vertical Crop")
|
443 |
-
c_upbtn=gr.Button("Update Crop")
|
444 |
with gr.Tab("Build"):
|
445 |
with gr.Row():
|
446 |
build_button = gr.Button("Build")
|
|
|
435 |
def_im = gr.Button("Load Default Image")
|
436 |
gen_im = gr.Button("Generate Image")
|
437 |
|
438 |
+
c_image=gr.Image(label="Cropped Image", type="filepath",interactive=False)
|
439 |
+
c_slider=gr.Slider(0,220,value=0,step=1,label="Adjust Vertical Crop")
|
440 |
+
c_upbtn=gr.Button("Update Crop")
|
|
|
|
|
|
|
441 |
with gr.Tab("Build"):
|
442 |
with gr.Row():
|
443 |
build_button = gr.Button("Build")
|