hysts HF staff commited on
Commit
6459c18
1 Parent(s): 399f343
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -247,7 +247,7 @@ This is an unofficial demo app for https://github.com/williamyang1991/DualStyleG
247
  ''')
248
 
249
  with gr.Box():
250
- gr.Markdown('''## Step 1
251
 
252
  - Drop an image containing a near-frontal face to the **Input Image**.
253
  - If there are multiple faces in the image, hit the Edit button in the upper right corner and crop the input image beforehand.
@@ -274,7 +274,7 @@ This is an unofficial demo app for https://github.com/williamyang1991/DualStyleG
274
  instyle = gr.Variable()
275
 
276
  with gr.Box():
277
- gr.Markdown('''## Step 2
278
 
279
  - Select **Style Type**.
280
  - Select **Style Image Index** from the image table below.
@@ -292,7 +292,7 @@ This is an unofficial demo app for https://github.com/williamyang1991/DualStyleG
292
  interactive=True)
293
 
294
  with gr.Box():
295
- gr.Markdown('''## Step 3
296
 
297
  - Adjust **Structure Weight** and **Color Weight**.
298
  - These are weights for the style image, so the larger the value, the closer the resulting image will be to the style image.
 
247
  ''')
248
 
249
  with gr.Box():
250
+ gr.Markdown('''## Step 1 (Preprocess Input Image)
251
 
252
  - Drop an image containing a near-frontal face to the **Input Image**.
253
  - If there are multiple faces in the image, hit the Edit button in the upper right corner and crop the input image beforehand.
 
274
  instyle = gr.Variable()
275
 
276
  with gr.Box():
277
+ gr.Markdown('''## Step 2 (Select Style Image)
278
 
279
  - Select **Style Type**.
280
  - Select **Style Image Index** from the image table below.
 
292
  interactive=True)
293
 
294
  with gr.Box():
295
+ gr.Markdown('''## Step 3 (Generate Style Transferred Image)
296
 
297
  - Adjust **Structure Weight** and **Color Weight**.
298
  - These are weights for the style image, so the larger the value, the closer the resulting image will be to the style image.