Download app.py from nice/bayc: direct link, hf CLI and curl.
- Browser
- Download file 475 Bytes
-
https://huggingface.co/spaces/nice/bayc/resolve/main/app.py
- Command line
-
hf download hf://spaces/nice/bayc/app.py
-
curl -L -o app.py https://huggingface.co/spaces/nice/bayc/resolve/main/app.py
475 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/nice/bayc", | |
| title="""Bayc""", | |
| description="""Demo for <a href="https://huggingface.co/nice/bayc">Bayc</a> Stable Diffusion model.""", | |
| article=article, | |
| api_key=API_KEY, | |
| ).queue(concurrency_count=20).launch() | |