Ashoka74 commited on
Commit
209524d
1 Parent(s): 7b61338

Update app_merged.py

Browse files
Files changed (1) hide show
  1. app_merged.py +8 -0
app_merged.py CHANGED
@@ -1511,6 +1511,14 @@ with gr.Blocks() as app:
1511
 
1512
  with gr.Column():
1513
  output_image.render()
 
 
 
 
 
 
 
 
1514
  generate_btn.click(
1515
  fn=generate_image,
1516
  inputs=[prompt_input, structure_image, style_image, depth_strength, style_strength],
 
1511
 
1512
  with gr.Column():
1513
  output_image.render()
1514
+ transfer_btn = gr.Button("Send to relight")
1515
+
1516
+ def send_img(img_result):
1517
+ return img_result
1518
+
1519
+ transfer_btn.click(send_img, [output_image], [input_fg])
1520
+
1521
+
1522
  generate_btn.click(
1523
  fn=generate_image,
1524
  inputs=[prompt_input, structure_image, style_image, depth_strength, style_strength],