Spaces:
Runtime error
Runtime error
prithivMLmods
commited on
Commit
•
175d8ba
1
Parent(s):
8d986b7
Update app.py
Browse files
app.py
CHANGED
@@ -26,17 +26,6 @@ DESCRIPTIONz= """## EPIC REALISM 🙀
|
|
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,10 +266,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
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 |
|
|
|
26 |
|
27 |
"""
|
28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
def save_image(img):
|
30 |
unique_name = str(uuid.uuid4()) + ".png"
|
31 |
img.save(unique_name)
|
|
|
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 |
+
|
|
|
|
|
|
|
270 |
gr.Markdown("**Disclaimer:**")
|
271 |
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.")
|
272 |
|