File size: 332 Bytes
47ff824
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 = """---
StableDiffusionV2"""

gr.Interface.load(
    name="models/yulet1de/stablediffusion2",
    title="""stablediffusion""",
    description="""""",
    article=article,
    api_key=API_KEY,
    ).queue(concurrency_count=20).launch()