Update app.py
Browse files
app.py
CHANGED
|
@@ -69,21 +69,22 @@ def get_prompts(prompt_text):
|
|
| 69 |
|
| 70 |
# Existing code...
|
| 71 |
|
| 72 |
-
with gr.Blocks() as demo:
|
| 73 |
gr.HTML("""
|
| 74 |
<div style="text-align: center; max-width: 650px; margin: 0 auto;">
|
| 75 |
<div>
|
| 76 |
-
"<
|
| 77 |
-
<
|
| 78 |
Dreamlike Diffusion 1.0
|
| 79 |
-
</
|
| 80 |
</div>
|
| 81 |
<p style="margin-bottom: 10px; font-size: 96%">
|
| 82 |
Noise Level: Controls how much randomness is added to the input before it is sent to the model. Higher noise level produces more diverse outputs, while lower noise level produces similar outputs,
|
| 83 |
-
|
| 84 |
</p>
|
| 85 |
<p style="margin-bottom: 10px; font-size: 98%">
|
| 86 |
-
❤️
|
|
|
|
| 87 |
</p>
|
| 88 |
</div>
|
| 89 |
""")
|
|
@@ -129,14 +130,5 @@ with gr.Blocks() as demo:
|
|
| 129 |
run.click(send_it1, inputs=[prompt, noise_level], outputs=[output2])
|
| 130 |
|
| 131 |
|
| 132 |
-
|
| 133 |
-
<div class="footer">
|
| 134 |
-
<p> Demo for <a href="https://huggingface.co/dreamlike-art/dreamlike-diffusion-1.0">Dreamlike Diffusion 1.0</a> Stable Diffusion model
|
| 135 |
-
</p>
|
| 136 |
-
</div>
|
| 137 |
-
<div class="acknowledgments" style="font-size: 115%">
|
| 138 |
-
<p> Unleash your creative side and generate mesmerizing images with just a few clicks! Enter a spark of inspiration in the "Basic Idea" text box and click the "Magic Prompt" button to elevate it to a polished masterpiece. Make any final tweaks in the "Full Prompt" box and hit the "Generate Images" button to watch your vision come to life. Experiment with the "Noise Level" for a diverse range of outputs, from similar to wildly unique. Let the fun begin!
|
| 139 |
-
</p>
|
| 140 |
-
</div>
|
| 141 |
-
""")
|
| 142 |
demo.launch(enable_queue=True, inline=True)
|
|
|
|
| 69 |
|
| 70 |
# Existing code...
|
| 71 |
|
| 72 |
+
with gr.Blocks(css="footer{display:none !important;}",) as demo:
|
| 73 |
gr.HTML("""
|
| 74 |
<div style="text-align: center; max-width: 650px; margin: 0 auto;">
|
| 75 |
<div>
|
| 76 |
+
"<h1 style='color: #191970;'>Aiconvert.online</h1>"
|
| 77 |
+
<h2 style="font-weight: 500; font-size: 3rem; margin-bottom:20px;">
|
| 78 |
Dreamlike Diffusion 1.0
|
| 79 |
+
</h2>
|
| 80 |
</div>
|
| 81 |
<p style="margin-bottom: 10px; font-size: 96%">
|
| 82 |
Noise Level: Controls how much randomness is added to the input before it is sent to the model. Higher noise level produces more diverse outputs, while lower noise level produces similar outputs,
|
| 83 |
+
|
| 84 |
</p>
|
| 85 |
<p style="margin-bottom: 10px; font-size: 98%">
|
| 86 |
+
❤️ Unleash your creative side and generate mesmerizing images with just a few clicks! Enter a spark of inspiration in the "Basic Idea" text box and click the "Magic Prompt" button to elevate it to a polished masterpiece. Make any final tweaks in the "Full Prompt" box and hit the "Generate Images" button to watch your vision come to life. Experiment with the "Noise Level" for a diverse range of outputs, from similar to wildly unique. Let the fun begin!
|
| 87 |
+
enjoy ❤️
|
| 88 |
</p>
|
| 89 |
</div>
|
| 90 |
""")
|
|
|
|
| 130 |
run.click(send_it1, inputs=[prompt, noise_level], outputs=[output2])
|
| 131 |
|
| 132 |
|
| 133 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 134 |
demo.launch(enable_queue=True, inline=True)
|