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

update app

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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.''')
69
  with gr.Row():
70
  with gr.Column():
71
  style_gan_type = gr.Radio(["FFHQ", "MetFaces"], value = "FFHQ", label="StyleGAN Type", interactive=True)
@@ -77,16 +77,16 @@ with gr.Blocks(css="style.css") as demo:
77
  with gr.Column():
78
  with gr.Row():
79
  text = gr.Textbox(
80
- label="Enter your prompt",
81
  show_label=False,
82
  max_lines=1,
83
- placeholder="Enter your prompt"
84
  ).style(container=False)
85
 
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) - 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)
 
77
  with gr.Column():
78
  with gr.Row():
79
  text = gr.Textbox(
80
+ label="Enter your text prompt",
81
  show_label=False,
82
  max_lines=1,
83
+ placeholder="Enter your text prompt"
84
  ).style(container=False)
85
 
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():