ujin-song commited on
Commit
c816497
β€’
1 Parent(s): f619b74

Update app.py -- with tab

Browse files
Files changed (1) hide show
  1. app.py +10 -8
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],