Omnibus commited on
Commit
6a05f4d
1 Parent(s): 089e7b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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")