Spaces:
Running on Zero
Running on Zero
Commit ·
d8f6a46
1
Parent(s): 10e5a04
Show citation in Space UI
Browse files
app.py
CHANGED
|
@@ -260,10 +260,15 @@ def generate_image(model_choice, additional_positive_prompt, additional_negative
|
|
| 260 |
return None, seed, full_positive_prompt, full_negative_prompt
|
| 261 |
|
| 262 |
# Gradio interface
|
|
|
|
|
|
|
|
|
|
| 263 |
with gr.Blocks(theme='bethecloud/storj_theme') as demo:
|
|
|
|
|
|
|
|
|
|
| 264 |
gr.HTML("""
|
| 265 |
<h1 align="center">Pony Realism / Cyber Realism / Stallion Dreams</h1>
|
| 266 |
-
<p align="center">🔍 <a href="https://dualview.ai" target="_blank">Compare generated images with DualView</a></p>
|
| 267 |
<p align="center">
|
| 268 |
<a href="https://huggingface.co/John6666/pony-realism-v22main-sdxl/" target="_blank">[Pony Realism]</a>
|
| 269 |
<a href="https://huggingface.co/John6666/cyberrealistic-pony-v65-sdxl" target="_blank">[Cyberrealistic Pony]</a>
|
|
|
|
| 260 |
return None, seed, full_positive_prompt, full_negative_prompt
|
| 261 |
|
| 262 |
# Gradio interface
|
| 263 |
+
# gokaygokay-ui-citation
|
| 264 |
+
CITATION_MARKDOWN = 'This hosted interface is maintained by [Gökay Aydoğan](https://orcid.org/0000-0002-2343-9433). If you reference this repository in academic work, please cite it as follows and also cite the upstream models, datasets, or projects it builds upon.\n\n```bibtex\n@software{aydogan2024ponyrealism,\n author = {Aydoğan, Gökay},\n title = {{PonyRealism}},\n year = {2024},\n publisher = {Hugging Face},\n url = {https://huggingface.co/spaces/gokaygokay/PonyRealism},\n note = {Hosted interface; cite the upstream models and projects used by this Space as required.}\n}\n```'
|
| 265 |
+
|
| 266 |
with gr.Blocks(theme='bethecloud/storj_theme') as demo:
|
| 267 |
+
with gr.Accordion("Citation & attribution", open=False):
|
| 268 |
+
gr.Markdown(CITATION_MARKDOWN)
|
| 269 |
+
|
| 270 |
gr.HTML("""
|
| 271 |
<h1 align="center">Pony Realism / Cyber Realism / Stallion Dreams</h1>
|
|
|
|
| 272 |
<p align="center">
|
| 273 |
<a href="https://huggingface.co/John6666/pony-realism-v22main-sdxl/" target="_blank">[Pony Realism]</a>
|
| 274 |
<a href="https://huggingface.co/John6666/cyberrealistic-pony-v65-sdxl" target="_blank">[Cyberrealistic Pony]</a>
|