sd-space-creator / template /app_simple.py
akhaliq's picture
akhaliq HF staff
Duplicate from anzorq/sd-space-creator
52ffa26
raw
history blame contribute delete
405 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/$model_id",
title="""$title""",
description="""$description""",
article=article,
api_key=API_KEY,
).queue(concurrency_count=20).launch()