Spaces:
Running
on
T4
Running
on
T4
fix: syntax
Browse files
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:
|