How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
from diffusers.utils import load_image

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("kviai/Kvi-Upscale-V1", torch_dtype=torch.bfloat16, device_map="cuda")

prompt = "Turn this cat into a dog"
input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")

image = pipe(image=input_image, prompt=prompt).images[0]

Image Upscaling Model

This repository contains the PyTorch model for upscaling images. The model has been trained to upscale low-resolution images to higher resolution using convolutional neural networks.

Model Details

  • Model Name: Kvi-Upscale
  • Author: KviAI
  • License: Creative Commons Attribution 4.0

Instructions

To use this model for upscaling, please follow the instructions in the accompanying Python script.

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Spaces using kviai/Kvi-Upscale-V1 2