JarvisLabs commited on
Commit
cab0ae0
·
verified ·
1 Parent(s): e760dff

Upload 2 files

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. controlnetmockup_tab.py +6 -3
app.py CHANGED
@@ -77,7 +77,7 @@ with gr.Blocks(theme=theme,css=css) as demo:
77
 
78
  # Move to Buttons
79
  move_to_vto.click(lambda x:x, inputs=gen_out,outputs=input_vto)
80
- move_to_cnmk.click(lambda x:x,input=gen_out,outputs=input_cnmu)
81
  # move_to_fs.click(lambda x:x, inputs=gen_out,outputs=input_fs)
82
  move_to_ip.click(lambda x:x, inputs=gen_out,outputs=input_ip)
83
  # move_to_zest.click(lambda x:x, inputs=gen_out,outputs=input_zest)
 
77
 
78
  # Move to Buttons
79
  move_to_vto.click(lambda x:x, inputs=gen_out,outputs=input_vto)
80
+ move_to_cnmk.click(lambda x:x,inputs=gen_out,outputs=input_cnmu)
81
  # move_to_fs.click(lambda x:x, inputs=gen_out,outputs=input_fs)
82
  move_to_ip.click(lambda x:x, inputs=gen_out,outputs=input_ip)
83
  # move_to_zest.click(lambda x:x, inputs=gen_out,outputs=input_zest)
controlnetmockup_tab.py CHANGED
@@ -40,9 +40,12 @@ def create_cnmu_tab():
40
  inputs=[in_img,gr.Textbox("blip",visible=False),gr.Textbox("What item is in this image reply with a one word if u can, i.e Shoe, person, car ....",visible=False)],
41
  outputs=[object_prompt])
42
 
43
- gr.Examples(examples=[
44
- ["Test_images/example_outputs/cnmu_input_1.webp","Test_images/example_outputs/cnmu_output_1.png","a bowl of soup","on a table in a Chinese restraint, 8k, table, flowers in background "]
45
- ])
 
 
 
46
  return in_img,out_img
47
 
48
 
 
40
  inputs=[in_img,gr.Textbox("blip",visible=False),gr.Textbox("What item is in this image reply with a one word if u can, i.e Shoe, person, car ....",visible=False)],
41
  outputs=[object_prompt])
42
 
43
+ gr.Examples(
44
+ examples=[
45
+ ["Test_images/example_outputs/cnmu_input_1.webp","Test_images/example_outputs/cnmu_output_1.png","a bowl of soup","on a table in a Chinese restraint, 8k, table, flowers in background "],
46
+ ],
47
+ inputs=[in_img,out_img,object_prompt,background_prompt]
48
+ )
49
  return in_img,out_img
50
 
51