israelweiss commited on
Commit
49d0ea2
·
1 Parent(s): f2f4fa7
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -147,7 +147,7 @@ with image_blocks as demo:
147
  - For best results in reference by image: make sure the foreground in the image is already located in the wanted position and scale, relative to the elements in the reference image.<br>
148
  </p>
149
  ''')
150
- with gr.Tab(elem_id="By prompt", id="tab_prompt"):
151
 
152
  with gr.Row():
153
  with gr.Column():
@@ -165,7 +165,7 @@ with image_blocks as demo:
165
  # Button click will trigger the inpainting function (now with prompt included)
166
  btn.click(fn=predict_ref_by_text, inputs=[image, prompt], outputs=[image_out], api_name='run')
167
 
168
- with gr.Tab(elem_id="By image reference", id="tab_ref_image"):
169
 
170
  with gr.Row():
171
  with gr.Column():
 
147
  - For best results in reference by image: make sure the foreground in the image is already located in the wanted position and scale, relative to the elements in the reference image.<br>
148
  </p>
149
  ''')
150
+ with gr.Tab(label="By prompt", id="tab_prompt"):
151
 
152
  with gr.Row():
153
  with gr.Column():
 
165
  # Button click will trigger the inpainting function (now with prompt included)
166
  btn.click(fn=predict_ref_by_text, inputs=[image, prompt], outputs=[image_out], api_name='run')
167
 
168
+ with gr.Tab(label="By image reference", id="tab_ref_image"):
169
 
170
  with gr.Row():
171
  with gr.Column():