CoolFace
Apppublic

jordonpeter01/sd-space-creator

sourceHugging Facemitupdated 3y agoView on Hugging Face
0likes
app_simple.py16 linesDownload Raw Back to template
1import os2import gradio as gr3 4API_KEY=os.environ.get('HUGGING_FACE_HUB_TOKEN', None)5 6article = """---7This space was created using [SD Space Creator](https://huggingface.co/spaces/anzorq/sd-space-creator)."""8 9gr.Interface.load(10    name="models/$model_id",11    title="""$title""",12    description="""$description""",13    article=article,14    api_key=API_KEY,15    ).queue(concurrency_count=20).launch()16