protogen_v2.2 / app.py
indy256's picture
Upload app.py with huggingface_hub
999a125
raw
history blame contribute delete
529 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/yuvalkirstain/protogen_v2.2",
title="""Protogen V2.2""",
description="""Demo for <a href="https://huggingface.co/yuvalkirstain/protogen_v2.2">Protogen V2.2</a> Stable Diffusion model.""",
article=article,
api_key=API_KEY,
).queue(concurrency_count=20).launch()