biubiubiiu commited on
Commit
6815a5f
1 Parent(s): 504f20d

enable keep_content_resolution by default

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -112,7 +112,7 @@ alpha_selector = gr.inputs.Slider(
112
  minimum=0.0, maximum=1.0, step=0.01, default=1.0, label="Content-Style trade-off"
113
  )
114
  keep_resolution = gr.inputs.Checkbox(
115
- default=False, label="Keep content image resolution"
116
  )
117
 
118
  iface = gr.Interface(
@@ -124,7 +124,7 @@ iface = gr.Interface(
124
  article=article,
125
  theme="huggingface",
126
  examples=[
127
- [content, style, "EFDM", 1.0, False]
128
  for content, style in example_img_pairs.items()
129
  ],
130
  )
 
112
  minimum=0.0, maximum=1.0, step=0.01, default=1.0, label="Content-Style trade-off"
113
  )
114
  keep_resolution = gr.inputs.Checkbox(
115
+ default=True, label="Keep content image resolution"
116
  )
117
 
118
  iface = gr.Interface(
 
124
  article=article,
125
  theme="huggingface",
126
  examples=[
127
+ [content, style, "EFDM", 1.0, True]
128
  for content, style in example_img_pairs.items()
129
  ],
130
  )