File size: 521 Bytes
c6d985e
5e001a1
 
c6d985e
5e001a1
c6d985e
 
5e001a1
c6d985e
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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/p1atdev/plat-diffusion",
    title="""Plat Diffusion""",
    description="""Demo for <a href="https://huggingface.co/p1atdev/plat-diffusion">Plat Diffusion</a> Stable Diffusion model.""",
    article=article,
    api_key=API_KEY,
    ).queue(concurrency_count=20).launch()