Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ import uuid
|
|
| 8 |
from typing import Tuple
|
| 9 |
import numpy as np
|
| 10 |
|
| 11 |
-
DESCRIPTIONz = """## FLUX REALISM
|
| 12 |
|
| 13 |
|
| 14 |
DESCRIPTIONy = """
|
|
@@ -125,14 +125,14 @@ examples = [
|
|
| 125 |
|
| 126 |
|
| 127 |
css = '''
|
| 128 |
-
.gradio-container{max-width:
|
| 129 |
h1{text-align:center}
|
| 130 |
footer {
|
| 131 |
visibility: hidden
|
| 132 |
}
|
| 133 |
'''
|
| 134 |
|
| 135 |
-
with gr.Blocks(css=css, theme="
|
| 136 |
gr.Markdown(DESCRIPTIONz)
|
| 137 |
|
| 138 |
with gr.Row():
|
|
@@ -228,14 +228,23 @@ with gr.Blocks(css=css, theme="YTheme/Minecraft") as demo:
|
|
| 228 |
gr.Markdown("### Generated Images")
|
| 229 |
predefined_gallery = gr.Gallery(label="Generated Images", columns=3, show_label=False, value=load_predefined_images())
|
| 230 |
|
| 231 |
-
|
| 232 |
gr.Markdown("**Disclaimer/Note:**")
|
| 233 |
|
| 234 |
gr.Markdown(DESCRIPTIONy)
|
| 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.")
|
| 237 |
|
| 238 |
-
gr.Markdown("🔥users are accountable for the content they generate and are responsible for ensuring it meets appropriate ethical standards.")
|
| 239 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 240 |
if __name__ == "__main__":
|
| 241 |
demo.queue(max_size=40).launch()
|
|
|
|
| 8 |
from typing import Tuple
|
| 9 |
import numpy as np
|
| 10 |
|
| 11 |
+
DESCRIPTIONz = """## FLUX REALISM """
|
| 12 |
|
| 13 |
|
| 14 |
DESCRIPTIONy = """
|
|
|
|
| 125 |
|
| 126 |
|
| 127 |
css = '''
|
| 128 |
+
.gradio-container{max-width: 595px !important}
|
| 129 |
h1{text-align:center}
|
| 130 |
footer {
|
| 131 |
visibility: hidden
|
| 132 |
}
|
| 133 |
'''
|
| 134 |
|
| 135 |
+
with gr.Blocks(css=css, theme="prithivMLmods/Minecraft-Theme") as demo:
|
| 136 |
gr.Markdown(DESCRIPTIONz)
|
| 137 |
|
| 138 |
with gr.Row():
|
|
|
|
| 228 |
gr.Markdown("### Generated Images")
|
| 229 |
predefined_gallery = gr.Gallery(label="Generated Images", columns=3, show_label=False, value=load_predefined_images())
|
| 230 |
|
|
|
|
| 231 |
gr.Markdown("**Disclaimer/Note:**")
|
| 232 |
|
| 233 |
gr.Markdown(DESCRIPTIONy)
|
| 234 |
|
| 235 |
+
#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.")
|
| 236 |
|
| 237 |
+
#gr.Markdown("🔥users are accountable for the content they generate and are responsible for ensuring it meets appropriate ethical standards.")
|
| 238 |
+
|
| 239 |
+
gr.Markdown("""
|
| 240 |
+
<div style='text-align: justify;'>
|
| 241 |
+
🔥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.
|
| 242 |
+
</div>""")
|
| 243 |
+
|
| 244 |
+
gr.Markdown("""
|
| 245 |
+
<div style='text-align: justify;'>
|
| 246 |
+
🔥Users are accountable for the content they generate and are responsible for ensuring it meets appropriate ethical standards.
|
| 247 |
+
</div>""")
|
| 248 |
+
|
| 249 |
if __name__ == "__main__":
|
| 250 |
demo.queue(max_size=40).launch()
|