diff --git a/scripts/latent_imagenet_diffusion.ipynb b/scripts/latent_imagenet_diffusion.ipynb index 607f94f..82195aa 100644 --- a/scripts/latent_imagenet_diffusion.ipynb +++ b/scripts/latent_imagenet_diffusion.ipynb @@ -14,7 +14,7 @@ "language_info": { "name": "python" }, - "accelerator": "GPU" + "accelerator": "CPU" }, "cells": [ { @@ -426,4 +426,4 @@ "outputs": [] } ] -} \ No newline at end of file +} diff --git a/webui.py b/webui.py index 96db0a8..f7e535d 100644 --- a/webui.py +++ b/webui.py @@ -1295,7 +1295,7 @@ def upscale_with_realesrgan(image, RealESRGAN_upscaling, RealESRGAN_model_index) scale=info.netscale, model_path=info.location, model=model, - half=True + half=False ) upsampled = upsampler.enhance(np.array(image), outscale=RealESRGAN_upscaling)[0]