Update app.py
Browse files
app.py
CHANGED
@@ -127,9 +127,9 @@ with gr.Blocks() as demo:
|
|
127 |
otp4 = gr.Textbox(label="batch output ( combined )", interactive=True, lines=4)
|
128 |
with gr.Row():
|
129 |
btn_scd = gr.Button("Merge Descriptions to Single Combined Description")
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
|
135 |
demo.launch(debug=True, share=True)
|
|
|
127 |
otp4 = gr.Textbox(label="batch output ( combined )", interactive=True, lines=4)
|
128 |
with gr.Row():
|
129 |
btn_scd = gr.Button("Merge Descriptions to Single Combined Description")
|
130 |
+
btn2.click(dual_images, inputs=[im1], outputs=[otp2])
|
131 |
+
btn2.click(dual_images, inputs=[im2], outputs=[otp3])
|
132 |
+
btn.click(dual_images, inputs=[img], outputs=[otpt])
|
133 |
+
btn_scd.click(merge_descriptions_to_prompt, inputs=[minst, otp2, otp3], outputs=[otp4])
|
134 |
|
135 |
demo.launch(debug=True, share=True)
|