mfrashad commited on
Commit
f94c3f9
1 Parent(s): 72619e8

Change seed number

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -257,7 +257,7 @@ def generate_image(seed1, seed2, content, style, truncation, c0, c1, c2, c3, c4,
257
  return input_im, display_sample_pytorch(seed1, truncation, directions, distances, scale, int(start_layer), int(end_layer), w=mixed_w, disp=False)
258
 
259
  truncation = gr.inputs.Slider(minimum=0, maximum=1, default=0.5, label="Truncation")
260
- start_layer = gr.inputs.Number(default=0, label="Start Layer")
261
  end_layer = gr.inputs.Number(default=14, label="End Layer")
262
  seed1 = gr.inputs.Number(default=0, label="Seed 1")
263
  seed2 = gr.inputs.Number(default=0, label="Seed 2")
 
257
  return input_im, display_sample_pytorch(seed1, truncation, directions, distances, scale, int(start_layer), int(end_layer), w=mixed_w, disp=False)
258
 
259
  truncation = gr.inputs.Slider(minimum=0, maximum=1, default=0.5, label="Truncation")
260
+ start_layer = gr.inputs.Number(default=3, label="Start Layer")
261
  end_layer = gr.inputs.Number(default=14, label="End Layer")
262
  seed1 = gr.inputs.Number(default=0, label="Seed 1")
263
  seed2 = gr.inputs.Number(default=0, label="Seed 2")