RyanL22 commited on
Commit
0615f24
·
verified ·
1 Parent(s): 768f8bb

fix: gr.Markdown doesn't work properly

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -208,7 +208,7 @@ with gr.Blocks(css_paths="styles.css", theme=gr.themes.Ocean(), title="Voost: Vi
208
 
209
  with gr.Row():
210
  with gr.Column(scale=1):
211
- gr.Markdown("<center><h4>Step 1: Select <em>Try-On</em> or <em>Try-Off</em> mode. </h4></center>")
212
  input_toggle = Toggle(
213
  label="Try-On",
214
  value=False,
@@ -219,7 +219,7 @@ with gr.Blocks(css_paths="styles.css", theme=gr.themes.Ocean(), title="Voost: Vi
219
  )
220
 
221
  with gr.Column(scale=1):
222
- gr.Markdown("<center><h4>Step 2: Select your desired garment type.</h4></center>")
223
  garment_condition = gr.Radio(
224
  choices=["Upper", "Lower", "Full"],
225
  value="Upper",
@@ -231,7 +231,7 @@ with gr.Blocks(css_paths="styles.css", theme=gr.themes.Ocean(), title="Voost: Vi
231
 
232
  with gr.Row():
233
  with gr.Column(scale=1, elem_id="col-left"):
234
- gr.Markdown("<center><h4>Step 3: Upload a model image. <br> (Optional) Use the draw tool to create the mask. ⬇️</h4></center>")
235
  model_image = gr.ImageEditor(
236
  label="Model Image",
237
  type="pil",
@@ -254,7 +254,7 @@ with gr.Blocks(css_paths="styles.css", theme=gr.themes.Ocean(), title="Voost: Vi
254
  )
255
 
256
  with gr.Column(scale=1, elem_id="col-mid"):
257
- gr.Markdown("<center><h4>Step 4: Upload a garment image. ⬇️ <br><br></h4></center>")
258
  garment_input = gr.Image(
259
  label="Garment Image",
260
  type="pil",
@@ -272,7 +272,7 @@ with gr.Blocks(css_paths="styles.css", theme=gr.themes.Ocean(), title="Voost: Vi
272
  )
273
 
274
  with gr.Column(scale=1, elem_id="col-right"):
275
- gr.Markdown("<center><h4>Step 5: Click the button below to run the model! ⬇️ <br><br></h4></center>")
276
  output_image = gr.Image(
277
  format="png",
278
  label="Output Image",
 
208
 
209
  with gr.Row():
210
  with gr.Column(scale=1):
211
+ gr.HTML("<center><h4>Step 1: Select <em>Try-On</em> or <em>Try-Off</em> mode. </h4></center>")
212
  input_toggle = Toggle(
213
  label="Try-On",
214
  value=False,
 
219
  )
220
 
221
  with gr.Column(scale=1):
222
+ gr.HTML("<center><h4>Step 2: Select your desired garment type.</h4></center>")
223
  garment_condition = gr.Radio(
224
  choices=["Upper", "Lower", "Full"],
225
  value="Upper",
 
231
 
232
  with gr.Row():
233
  with gr.Column(scale=1, elem_id="col-left"):
234
+ gr.HTML("<center><h4>Step 3: Upload a model image. <br> (Optional) Use the draw tool to create the mask. ⬇️</h4></center>")
235
  model_image = gr.ImageEditor(
236
  label="Model Image",
237
  type="pil",
 
254
  )
255
 
256
  with gr.Column(scale=1, elem_id="col-mid"):
257
+ gr.HTML("<center><h4>Step 4: Upload a garment image. ⬇️ <br><br></h4></center>")
258
  garment_input = gr.Image(
259
  label="Garment Image",
260
  type="pil",
 
272
  )
273
 
274
  with gr.Column(scale=1, elem_id="col-right"):
275
+ gr.HTML("<center><h4>Step 5: Click the button below to run the model! ⬇️ <br><br></h4></center>")
276
  output_image = gr.Image(
277
  format="png",
278
  label="Output Image",