Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -431,10 +431,13 @@ with gr.Blocks() as build_app:
|
|
431 |
gr.Markdown("""Image for your Card (min: 300x300 [Square]""")
|
432 |
t_image_url = gr.Textbox(label="Image URL", placeholder="Optional URL Input")
|
433 |
t_image = gr.Image(label="Twitter Card Image", type="filepath",interactive=True)
|
|
|
|
|
|
|
|
|
434 |
with gr.Row():
|
435 |
with gr.Column():
|
436 |
c_image=gr.Image(label="Cropped Image", type="filepath",interactive=False)
|
437 |
-
def_im = gr.Button("Load Default Image")
|
438 |
with gr.Column():
|
439 |
c_slider=gr.Slider(0,220,value=0,step=1,label="Adjust Vertical Crop")
|
440 |
c_upbtn=gr.Button("Update Crop")
|
|
|
431 |
gr.Markdown("""Image for your Card (min: 300x300 [Square]""")
|
432 |
t_image_url = gr.Textbox(label="Image URL", placeholder="Optional URL Input")
|
433 |
t_image = gr.Image(label="Twitter Card Image", type="filepath",interactive=True)
|
434 |
+
with gr.Row():
|
435 |
+
def_im = gr.Button("Load Default Image")
|
436 |
+
gen_im = gr.Button("Generate Image")
|
437 |
+
|
438 |
with gr.Row():
|
439 |
with gr.Column():
|
440 |
c_image=gr.Image(label="Cropped Image", type="filepath",interactive=False)
|
|
|
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")
|