Nymbo commited on
Commit
efec96c
β€’
1 Parent(s): b15b614

Update run/gradio_ootd.py

Browse files
Files changed (1) hide show
  1. run/gradio_ootd.py +6 -6
run/gradio_ootd.py CHANGED
@@ -118,14 +118,14 @@ def process_dc(vton_img, garm_img, category, n_samples, n_steps, image_scale, se
118
  return images
119
 
120
 
121
- block = gr.Blocks().queue()
122
  with block:
123
  with gr.Row():
124
- gr.Markdown("# OOTDiffusion Demo")
125
  with gr.Row():
126
- gr.Markdown("## Half-body")
127
  with gr.Row():
128
- gr.Markdown("***Support upper-body garments***")
129
  with gr.Row():
130
  with gr.Column():
131
  vton_img = gr.Image(label="Model", sources='upload', type="filepath", height=384, value=model_hd)
@@ -184,9 +184,9 @@ with block:
184
 
185
 
186
  with gr.Row():
187
- gr.Markdown("## Full-body")
188
  with gr.Row():
189
- gr.Markdown("***Support upper-body/lower-body/dresses; garment category must be paired!!!***")
190
  with gr.Row():
191
  with gr.Column():
192
  vton_img_dc = gr.Image(label="Model", sources='upload', type="filepath", height=384, value=model_dc)
 
118
  return images
119
 
120
 
121
+ block = gr.Blocks(theme="Nymbo/Alyx_Theme").queue()
122
  with block:
123
  with gr.Row():
124
+ gr.HTML("<center><h1>OOT Diffusion Demo</h1></center>")
125
  with gr.Row():
126
+ gr.HTML("<center><h3>Half-body</h3></center>")
127
  with gr.Row():
128
+ gr.HTML("<center><p>Support upper-body garments</p></center>")
129
  with gr.Row():
130
  with gr.Column():
131
  vton_img = gr.Image(label="Model", sources='upload', type="filepath", height=384, value=model_hd)
 
184
 
185
 
186
  with gr.Row():
187
+ gr.HTML("<center><h3>Full-body</h3></center>")
188
  with gr.Row():
189
+ gr.HTML("<center><p>Support upper-body/lower-body/dresses; garment category must be paired!!!</p></center>")
190
  with gr.Row():
191
  with gr.Column():
192
  vton_img_dc = gr.Image(label="Model", sources='upload', type="filepath", height=384, value=model_dc)