Waifu-Diffusers / app.py
Rmpmartinspro2's picture
Upload app.py with huggingface_hub
772cea4
raw
history blame
525 Bytes
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/Nilaier/Waifu-Diffusers",
title="""Waifu Diffusers""",
description="""Demo for <a href="https://huggingface.co./Nilaier/Waifu-Diffusers">Waifu Diffusers</a> Stable Diffusion model.""",
article=article,
api_key=API_KEY,
).queue(concurrency_count=20).launch()