leoeric commited on
Commit
cc626cb
·
1 Parent(s): 6df4481

Remove unsupported --logdir argument from sample.py command

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -153,7 +153,6 @@ def generate_image(prompt, aspect_ratio, cfg, seed, checkpoint_file, config_path
153
  output_dir.mkdir(exist_ok=True)
154
 
155
  # Run sampling command
156
- # Set logdir to outputs directory for easier file finding
157
  cmd = [
158
  "python", "sample.py",
159
  "--model_config_path", config_path,
@@ -167,8 +166,7 @@ def generate_image(prompt, aspect_ratio, cfg, seed, checkpoint_file, config_path
167
  "--finetuned_vae", "none",
168
  "--jacobi", "1",
169
  "--jacobi_th", "0.001",
170
- "--jacobi_block_size", "16",
171
- "--logdir", str(output_dir) # Set logdir to outputs
172
  ]
173
 
174
  status_msg += "Running generation...\n"
 
153
  output_dir.mkdir(exist_ok=True)
154
 
155
  # Run sampling command
 
156
  cmd = [
157
  "python", "sample.py",
158
  "--model_config_path", config_path,
 
166
  "--finetuned_vae", "none",
167
  "--jacobi", "1",
168
  "--jacobi_th", "0.001",
169
+ "--jacobi_block_size", "16"
 
170
  ]
171
 
172
  status_msg += "Running generation...\n"