Spaces:
Runtime error
Runtime error
prithivMLmods
commited on
Commit
•
69030ff
1
Parent(s):
8f62ed4
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,6 @@
|
|
6 |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7 |
# copies of the Software, and to permit persons to whom the Software is
|
8 |
# furnished to do so, subject to the following conditions:
|
9 |
-
#
|
10 |
# ...
|
11 |
import os
|
12 |
import random
|
@@ -259,7 +258,6 @@ with gr.Blocks(css=css, theme="prithivMLmods/Minecraft-Theme") as demo:
|
|
259 |
outputs=negative_prompt,
|
260 |
api_name=False,
|
261 |
)
|
262 |
-
|
263 |
gr.on(
|
264 |
triggers=[
|
265 |
prompt.submit,
|
@@ -282,8 +280,6 @@ with gr.Blocks(css=css, theme="prithivMLmods/Minecraft-Theme") as demo:
|
|
282 |
outputs=[result, seed],
|
283 |
api_name="run",
|
284 |
)
|
285 |
-
|
286 |
-
|
287 |
with gr.Column(scale=3):
|
288 |
gr.Markdown("### Image Gallery")
|
289 |
predefined_gallery = gr.Gallery(label="Image Gallery", columns=3, show_label=False, value=load_predefined_images())
|
@@ -295,12 +291,6 @@ with gr.Blocks(css=css, theme="prithivMLmods/Minecraft-Theme") as demo:
|
|
295 |
|
296 |
gr.Markdown("**Disclaimer/Note:**")
|
297 |
|
298 |
-
gr.Markdown("""
|
299 |
-
<div style='text-align: justify;'>
|
300 |
-
🎃Models used in the playground [[Lightning]](https://huggingface.co/SG161222/RealVisXL_V4.0_Lightning) & LoRA from [[LoRA]](https://huggingface.co/collections/prithivMLmods/dev-models-667803a6d5ac75b59110e527) for image generation. The specific LoRA in the space that requires appropriate trigger words brings good results. The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.
|
301 |
-
</div>
|
302 |
-
""")
|
303 |
-
|
304 |
gr.Markdown("""
|
305 |
<div style='text-align: justify;'>
|
306 |
🎃This is the demo space for generating images using Stable Diffusion with quality styles, different LoRA models and types. Try the sample prompts to generate higher quality images. <a href='https://huggingface.co/spaces/prithivMLmods/Top-Prompt-Collection' target='_blank'>Try prompts</a>.
|
|
|
6 |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7 |
# copies of the Software, and to permit persons to whom the Software is
|
8 |
# furnished to do so, subject to the following conditions:
|
|
|
9 |
# ...
|
10 |
import os
|
11 |
import random
|
|
|
258 |
outputs=negative_prompt,
|
259 |
api_name=False,
|
260 |
)
|
|
|
261 |
gr.on(
|
262 |
triggers=[
|
263 |
prompt.submit,
|
|
|
280 |
outputs=[result, seed],
|
281 |
api_name="run",
|
282 |
)
|
|
|
|
|
283 |
with gr.Column(scale=3):
|
284 |
gr.Markdown("### Image Gallery")
|
285 |
predefined_gallery = gr.Gallery(label="Image Gallery", columns=3, show_label=False, value=load_predefined_images())
|
|
|
291 |
|
292 |
gr.Markdown("**Disclaimer/Note:**")
|
293 |
|
|
|
|
|
|
|
|
|
|
|
|
|
294 |
gr.Markdown("""
|
295 |
<div style='text-align: justify;'>
|
296 |
🎃This is the demo space for generating images using Stable Diffusion with quality styles, different LoRA models and types. Try the sample prompts to generate higher quality images. <a href='https://huggingface.co/spaces/prithivMLmods/Top-Prompt-Collection' target='_blank'>Try prompts</a>.
|