glegendre's picture
glegendre HF staff
Upload app.py with huggingface_hub
a8909a1
raw
history blame contribute delete
No virus
597 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/darkstorm2150/Protogen_x3.4_Official_Release",
title="""Protogen X3.4 Official Release""",
description="""Demo for <a href="https://huggingface.co/darkstorm2150/Protogen_x3.4_Official_Release">Protogen X3.4 Official Release</a> Stable Diffusion model.""",
article=article,
api_key=API_KEY,
).queue(concurrency_count=20).launch()