File size: 393 Bytes
98e735c e44c042 98e735c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
#import
import gradio as gr
import torch
DESCRIPTION = '# Kandinsky 2.1'
if not torch.cuda.is_available():
DESCRIPTION += '\n<p>Running on CPU 🥶 This demo does not work on CPU.</p>'
#description
description = """<div>
CofAI.SD
</div>
"""
#model
gr.Interface.load("models/stabilityai/stable-diffusion-2-1", description=description).launch() |