Spaces:
Running
Running
Update ipadapter_tab.py
Browse files- ipadapter_tab.py +7 -7
ipadapter_tab.py
CHANGED
|
@@ -82,12 +82,12 @@ def create_ipadaptor_tab():
|
|
| 82 |
|
| 83 |
move_to_cnmk =gr.Button("Move to Control net mockup ")
|
| 84 |
move_to_relight= gr.Button("Move to Relight")
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
with gr.Row():
|
| 88 |
-
gr.Examples(examples=[
|
| 89 |
-
["Test_images/example_outputs/input_4.png","Test_images/Jacket_1.png","Jacket","Test_images/example_outputs/output_clothIP_1.png"],
|
| 90 |
-
["Test_images/Woman_2.png","Test_images/pattern_4.jpg","Dress","Test_images/example_outputs/output_clothIP_2.png"],
|
| 91 |
-
],inputs=[api_inp,ip_image,ap_prompt,api_out])
|
| 92 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
return api_inp,api_out,move_to_cnmk,move_to_relight
|
|
|
|
| 82 |
|
| 83 |
move_to_cnmk =gr.Button("Move to Control net mockup ")
|
| 84 |
move_to_relight= gr.Button("Move to Relight")
|
| 85 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
|
| 87 |
+
with gr.Row():
|
| 88 |
+
gr.Examples(examples=[
|
| 89 |
+
["Test_images/example_outputs/input_4.png","Test_images/Jacket_1.png","Jacket","Test_images/example_outputs/output_clothIP_1.png"],
|
| 90 |
+
["Test_images/Woman_2.png","Test_images/pattern_4.jpg","Dress","Test_images/example_outputs/output_clothIP_2.png"],
|
| 91 |
+
],inputs=[api_inp,ip_image,ap_prompt,api_out])
|
| 92 |
+
ip_btn.click(fal_ipadapter_api,inputs=[api_inp,ip_image,ap_prompt],outputs=api_out)
|
| 93 |
return api_inp,api_out,move_to_cnmk,move_to_relight
|