ihsanvp commited on
Commit
310e3d0
1 Parent(s): c36adbc

update: remove refiner

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -45,8 +45,6 @@ def generate(prompt: str, progress=gr.Progress()):
45
  image = base(
46
  prompt=prompt,
47
  num_inference_steps=n_sdxl_steps,
48
- denoising_end=high_noise_frac,
49
- output_type="latent",
50
  callback_on_step_end=create_progress_updater(
51
  start=0,
52
  total=total_steps,
@@ -54,7 +52,7 @@ def generate(prompt: str, progress=gr.Progress()):
54
  progress=progress,
55
  ),
56
  ).images[0]
57
- progress((n_sdxl_steps * high_noise_frac, total_steps), desc="Refining first frame...")
58
  # image = refiner(
59
  # prompt=prompt,
60
  # num_inference_steps=n_sdxl_steps,
 
45
  image = base(
46
  prompt=prompt,
47
  num_inference_steps=n_sdxl_steps,
 
 
48
  callback_on_step_end=create_progress_updater(
49
  start=0,
50
  total=total_steps,
 
52
  progress=progress,
53
  ),
54
  ).images[0]
55
+ # progress((n_sdxl_steps * high_noise_frac, total_steps), desc="Refining first frame...")
56
  # image = refiner(
57
  # prompt=prompt,
58
  # num_inference_steps=n_sdxl_steps,