adirik commited on
Commit
9cf1e91
1 Parent(s): 339d9cc

update app

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -65,7 +65,8 @@ with gr.Blocks(css="style.css") as demo:
65
  gr.Markdown(DESCRIPTION)
66
 
67
  with gr.Box():
68
- gr.Markdown('''### Step 1 (Finding a global manipulation direction) - Please enter the target **text prompt** and **identity loss weight** to find global manipulation direction.''')
 
69
  with gr.Row():
70
  with gr.Column():
71
  style_gan_type = gr.Radio(["FFHQ", "MetFaces"], value = "FFHQ", label="StyleGAN Type", interactive=True)
@@ -86,7 +87,9 @@ with gr.Blocks(css="style.css") as demo:
86
  find_direction_btn = gr.Button("Find Direction").style(full_width=False)
87
 
88
  with gr.Box():
89
- gr.Markdown('''### Step 2 (Manipulation) - Please upload an image: - You can select any of the previously found **directions** and set the **manipulation strength** to manipulate the image.''')
 
 
90
  with gr.Row():
91
  direction_radio = gr.Radio(direction_list, label="List of Directions")
92
  with gr.Row():
 
65
  gr.Markdown(DESCRIPTION)
66
 
67
  with gr.Box():
68
+ gr.Markdown('''### Step 1) Finding a global manipulation direction\
69
+ - Please enter the target **text prompt** and **identity loss weight** to find global manipulation direction.''')
70
  with gr.Row():
71
  with gr.Column():
72
  style_gan_type = gr.Radio(["FFHQ", "MetFaces"], value = "FFHQ", label="StyleGAN Type", interactive=True)
 
87
  find_direction_btn = gr.Button("Find Direction").style(full_width=False)
88
 
89
  with gr.Box():
90
+ gr.Markdown('''### Step 2) Text-guided manipulation\
91
+ - Please upload an image:\
92
+ - You can select any of the previously found **directions** and set the **manipulation strength** to manipulate the image.''')
93
  with gr.Row():
94
  direction_radio = gr.Radio(direction_list, label="List of Directions")
95
  with gr.Row():