Spaces:
Runtime error
Runtime error
Increased default value of StyleCLIP step
Browse files
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=
|
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]
|