adirik commited on
Commit
f302484
1 Parent(s): 88c803f

update app

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -65,7 +65,7 @@ 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: - Hit the **Find Direction** button.''')
69
  with gr.Row():
70
  with gr.Column():
71
  style_gan_type = gr.Radio(["FFHQ", "MetFaces"], value = "FFHQ", label="StyleGAN Type", interactive=True)
@@ -86,12 +86,12 @@ 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 for manipulation: - You can also select the **previous directions** and determine the **manipulation strength**. - Hit the **Generate** button.''')
90
  with gr.Row():
91
  direction_radio = gr.Radio(direction_list, label="List of Directions")
92
  with gr.Row():
93
  manipulation_strength = gr.Slider(
94
- 0.1, 100, value=25, step=0.1, label="Manipulation Strength",interactive=True
95
  )
96
  with gr.Row():
97
  with gr.Column():
 
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
  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():
93
  manipulation_strength = gr.Slider(
94
+ 0.1, 25, value=10, step=0.1, label="Manipulation Strength",interactive=True
95
  )
96
  with gr.Row():
97
  with gr.Column():