Update app.py -- with tab
Browse files
app.py
CHANGED
@@ -207,10 +207,11 @@ with gr.Blocks(css=css) as demo:
|
|
207 |
with gr.Row():
|
208 |
with gr.Column(elem_id="col-container"):
|
209 |
|
210 |
-
gr.Markdown(f"""
|
211 |
-
### 🪄 Global and Region prompts
|
212 |
-
""")
|
213 |
-
with gr.Group():
|
|
|
214 |
prompt = gr.Text(
|
215 |
label="ContextPrompt",
|
216 |
show_label=False,
|
@@ -272,10 +273,11 @@ with gr.Blocks(css=css) as demo:
|
|
272 |
inputs = [region2_prompt]
|
273 |
)
|
274 |
|
275 |
-
gr.Markdown(f"""
|
276 |
-
### 👯 Spatial Condition
|
277 |
-
""")
|
278 |
-
with gr.Group():
|
|
|
279 |
gallery = gr.Gallery(label = "Select pose for characters",
|
280 |
value = [obj[1]for obj in pose_image_list],
|
281 |
elem_id = [obj[0]for obj in pose_image_list],
|
|
|
207 |
with gr.Row():
|
208 |
with gr.Column(elem_id="col-container"):
|
209 |
|
210 |
+
# gr.Markdown(f"""
|
211 |
+
# ### 🪄 Global and Region prompts
|
212 |
+
# """)
|
213 |
+
# with gr.Group():
|
214 |
+
with gr.Tab('🪄 Global and Region prompts'):
|
215 |
prompt = gr.Text(
|
216 |
label="ContextPrompt",
|
217 |
show_label=False,
|
|
|
273 |
inputs = [region2_prompt]
|
274 |
)
|
275 |
|
276 |
+
# gr.Markdown(f"""
|
277 |
+
# ### 👯 Spatial Condition
|
278 |
+
# """)
|
279 |
+
# with gr.Group():
|
280 |
+
with gr.Tab('👯 Spatial Condition '):
|
281 |
gallery = gr.Gallery(label = "Select pose for characters",
|
282 |
value = [obj[1]for obj in pose_image_list],
|
283 |
elem_id = [obj[0]for obj in pose_image_list],
|