Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def genie (prompt, negative_prompt, height, width, scale, steps, seed, upscaling
|
|
44 |
torch.cuda.empty_cache()
|
45 |
return (image, upscaled)
|
46 |
else:
|
47 |
-
image = refiner(prompt=prompt, prompt_2=prompt_2, negative_prompt=negative_prompt, negative_prompt_2=negative_prompt_2, image=int_image,
|
48 |
torch.cuda.empty_cache()
|
49 |
return (image, image)
|
50 |
|
|
|
44 |
torch.cuda.empty_cache()
|
45 |
return (image, upscaled)
|
46 |
else:
|
47 |
+
image = refiner(prompt=prompt, prompt_2=prompt_2, negative_prompt=negative_prompt, negative_prompt_2=negative_prompt_2, image=int_image, denoising_start=high_noise_frac).images[0]
|
48 |
torch.cuda.empty_cache()
|
49 |
return (image, image)
|
50 |
|