Spaces:
Runtime error
Runtime error
prithivMLmods
commited on
Commit
•
a46d763
1
Parent(s):
daac1df
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ import torch
|
|
20 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
21 |
|
22 |
DESCRIPTIONXX = """
|
23 |
-
## STABLE IMAGINE
|
24 |
"""
|
25 |
def save_image(img):
|
26 |
unique_name = str(uuid.uuid4()) + ".png"
|
@@ -289,9 +289,9 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
289 |
gr.Markdown("### Image Gallery")
|
290 |
predefined_gallery = gr.Gallery(label="Image Gallery", columns=3, show_label=False, value=load_predefined_images())
|
291 |
|
292 |
-
gr.Markdown("
|
293 |
-
gr.Markdown("
|
294 |
-
gr.Markdown("
|
295 |
gr.Markdown("⚠️ users are accountable for the content they generate and are responsible for ensuring it meets appropriate ethical standards.")
|
296 |
|
297 |
if __name__ == "__main__":
|
|
|
20 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
21 |
|
22 |
DESCRIPTIONXX = """
|
23 |
+
## STABLE IMAGINE 🐺
|
24 |
"""
|
25 |
def save_image(img):
|
26 |
unique_name = str(uuid.uuid4()) + ".png"
|
|
|
289 |
gr.Markdown("### Image Gallery")
|
290 |
predefined_gallery = gr.Gallery(label="Image Gallery", columns=3, show_label=False, value=load_predefined_images())
|
291 |
|
292 |
+
gr.Markdown("🐺Models used in the playground [[Lightning]](https://huggingface.co/SG161222/RealVisXL_V4.0_Lightning) & LoRA from [[LoRA]](https://huggingface.co/collections/prithivMLmods/dev-models-667803a6d5ac75b59110e527) for image generation. The specific LoRA in the space that requires appropriate trigger words brings good results. The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.")
|
293 |
+
gr.Markdown("🐺This is the demo space for generating images using Stable Diffusion with quality styles, different LoRA models and types. Try the sample prompts to generate higher quality images. Try the sample prompts for generating higher quality images.<a href='https://huggingface.co/spaces/prithivMLmods/Top-Prompt-Collection' target='_blank'>Try prompts</a>.")
|
294 |
+
gr.Markdown("🐺Make sure that the prompts passed meet the trigger word conditions and are well-detailed. This space is for educational purposes only; using it productively is meant for your own knowledge.")
|
295 |
gr.Markdown("⚠️ users are accountable for the content they generate and are responsible for ensuring it meets appropriate ethical standards.")
|
296 |
|
297 |
if __name__ == "__main__":
|