nyanko7 commited on
Commit
b4d3beb
1 Parent(s): 17146d5

fix: syntax

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -223,9 +223,9 @@ def inference(
223
  if seed is None or seed == 0:
224
  seed = random.randint(0, 2147483647)
225
 
226
- start_time = time.time()
227
  pipe = setup_model(model, lora_state, lora_scale)
228
  generator = torch.Generator("cuda").manual_seed(int(seed))
 
229
 
230
  sampler_name, sampler_opt = None, None
231
  for label, funcname, options in samplers_k_diffusion:
 
223
  if seed is None or seed == 0:
224
  seed = random.randint(0, 2147483647)
225
 
 
226
  pipe = setup_model(model, lora_state, lora_scale)
227
  generator = torch.Generator("cuda").manual_seed(int(seed))
228
+ start_time = time.time()
229
 
230
  sampler_name, sampler_opt = None, None
231
  for label, funcname, options in samplers_k_diffusion: