Spaces:
Runtime error
Runtime error
import os | |
import gradio as gr | |
API_KEY=os.environ.get('HUGGING_FACE_HUB_TOKEN', None) | |
article = """--- | |
This space was created using [SD Space Creator](https://huggingface.co/spaces/anzorq/sd-space-creator).""" | |
gr.Interface.load( | |
name="models/stabilityai/stable-diffusion-2-1", | |
title="""Stable Diffusion 2 1 sandbox""", | |
description="""Demo for <a href="https://huggingface.co/stabilityai/stable-diffusion-2-1">Stable Diffusion 2 1</a> Stable Diffusion model.""", | |
article=article, | |
api_key=API_KEY, | |
).queue(concurrency_count=20).launch() | |