rinong commited on
Commit
ac190d6
1 Parent(s): 040da24

Increased default value of StyleCLIP step

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -372,7 +372,7 @@ with blocks:
372
  src_text_styleclip = gr.Textbox(label="Source text")
373
  tar_text_styleclip = gr.Textbox(label="Target text")
374
 
375
- alpha_styleclip = gr.Slider(label="Edit strength", minimum=-10, maximum=10, value=0, step=0.1)
376
  beta_styleclip = gr.Slider(label="Disentanglement Threshold", minimum=0.08, maximum=0.3, value=0.14, step=0.01)
377
 
378
  sc_edit_choices = [src_text_styleclip, tar_text_styleclip, alpha_styleclip, beta_styleclip]
 
372
  src_text_styleclip = gr.Textbox(label="Source text")
373
  tar_text_styleclip = gr.Textbox(label="Target text")
374
 
375
+ alpha_styleclip = gr.Slider(label="Edit strength", minimum=-10, maximum=10, value=1, step=0.1)
376
  beta_styleclip = gr.Slider(label="Disentanglement Threshold", minimum=0.08, maximum=0.3, value=0.14, step=0.01)
377
 
378
  sc_edit_choices = [src_text_styleclip, tar_text_styleclip, alpha_styleclip, beta_styleclip]