Spaces:
Running
on
Zero
Running
on
Zero
prithivMLmods
commited on
Commit
•
d8f715b
1
Parent(s):
9309c73
Update app.py
Browse files
app.py
CHANGED
@@ -26,6 +26,17 @@ DESCRIPTIONz= """## CANOPUS REALISM 🧒🏻
|
|
26 |
|
27 |
"""
|
28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
def save_image(img):
|
30 |
unique_name = str(uuid.uuid4()) + ".png"
|
31 |
img.save(unique_name)
|
@@ -266,6 +277,10 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
266 |
# Adding a predefined gallery section
|
267 |
gr.Markdown("### Generated Images")
|
268 |
predefined_gallery = gr.Gallery(label="Generated Images", columns=3, show_label=False, value=load_predefined_images())
|
|
|
|
|
|
|
|
|
269 |
gr.Markdown("**Disclaimer:**")
|
270 |
gr.Markdown("This space provides realistic image generation, which works better for human faces and portraits. Realistic trigger works properly, better for photorealistic trigger words, close-up shots, face diffusion, male, female characters.")
|
271 |
|
|
|
26 |
|
27 |
"""
|
28 |
|
29 |
+
DESCRIPTIONy = """
|
30 |
+
<p align="left">
|
31 |
+
<a title="Github" href="https://github.com/PRITHIVSAKTHIUR/Canopus-Realism" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
32 |
+
<img src="https://img.shields.io/github/stars/PRITHIVSAKTHIUR/Canopus-Realism?label=GitHub%20%E2%98%85&logo=github&color=C8C" alt="badge-github-stars">
|
33 |
+
</a>
|
34 |
+
</p>
|
35 |
+
"""
|
36 |
+
|
37 |
+
|
38 |
+
|
39 |
+
|
40 |
def save_image(img):
|
41 |
unique_name = str(uuid.uuid4()) + ".png"
|
42 |
img.save(unique_name)
|
|
|
277 |
# Adding a predefined gallery section
|
278 |
gr.Markdown("### Generated Images")
|
279 |
predefined_gallery = gr.Gallery(label="Generated Images", columns=3, show_label=False, value=load_predefined_images())
|
280 |
+
|
281 |
+
#gr.Markdown("⚠️ responsible for ensuring it meets appropriate ethical standards")
|
282 |
+
gr.Markdown(DESCRIPTIONy)
|
283 |
+
|
284 |
gr.Markdown("**Disclaimer:**")
|
285 |
gr.Markdown("This space provides realistic image generation, which works better for human faces and portraits. Realistic trigger works properly, better for photorealistic trigger words, close-up shots, face diffusion, male, female characters.")
|
286 |
|