prithivMLmods commited on
Commit
e990350
·
verified ·
1 Parent(s): a3096a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -10,6 +10,15 @@ import numpy as np
10
 
11
  DESCRIPTIONz = """## FLUX REALISM 🔥"""
12
 
 
 
 
 
 
 
 
 
 
13
  def save_image(img):
14
  unique_name = str(uuid.uuid4()) + ".png"
15
  img.save(unique_name)
@@ -219,6 +228,9 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
219
 
220
  gr.Markdown("### Generated Images")
221
  predefined_gallery = gr.Gallery(label="Generated Images", columns=3, show_label=False, value=load_predefined_images())
 
 
 
222
  gr.Markdown("**Disclaimer/Note:**")
223
 
224
  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.")
 
10
 
11
  DESCRIPTIONz = """## FLUX REALISM 🔥"""
12
 
13
+
14
+ DESCRIPTIONy = """
15
+ <p align="left">
16
+ <a title="Github" href="https://github.com/PRITHIVSAKTHIUR/FLUX-REALPIX" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
17
+ <img src="https://img.shields.io/github/stars/PRITHIVSAKTHIUR/FLUX-REALPIX?label=GitHub%20%E2%98%85&logo=github&color=C8C" alt="badge-github-stars">
18
+ </a>
19
+ </p>
20
+ """
21
+
22
  def save_image(img):
23
  unique_name = str(uuid.uuid4()) + ".png"
24
  img.save(unique_name)
 
228
 
229
  gr.Markdown("### Generated Images")
230
  predefined_gallery = gr.Gallery(label="Generated Images", columns=3, show_label=False, value=load_predefined_images())
231
+
232
+ gr.Markdown(DESCRIPTIONy)
233
+
234
  gr.Markdown("**Disclaimer/Note:**")
235
 
236
  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.")