Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -531,7 +531,6 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
531 |
outputs=[result, seed],
|
532 |
api_name="run",
|
533 |
)
|
534 |
-
|
535 |
# Adding a predefined gallery section
|
536 |
gr.Markdown("### Generated Images")
|
537 |
predefined_gallery = gr.Gallery(label="Generated Images", columns=3, show_label=False, value=load_predefined_images())
|
@@ -542,9 +541,10 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
542 |
# Adding a disclaimer
|
543 |
gr.Markdown("**Disclaimer:**")
|
544 |
gr.Markdown("This is the demo space for generating images using Stable Diffusion with grids, filters, templates, quality styles, and types. Try the sample prompts to generate higher quality images. Try the sample prompts for generating higher quality images.<a href='https://huggingface.co/spaces/prithivMLmods/Top-Prompt-Collection' target='_blank'>Try prompts</a>.")
|
|
|
|
|
545 |
gr.Markdown("**Note:**")
|
546 |
gr.Markdown("⚠️ users are accountable for the content they generate and are responsible for ensuring it meets appropriate ethical standards.")
|
547 |
-
|
548 |
#gr.HTML(html_content)
|
549 |
if __name__ == "__main__":
|
550 |
demo.queue(max_size=40).launch()
|
|
|
531 |
outputs=[result, seed],
|
532 |
api_name="run",
|
533 |
)
|
|
|
534 |
# Adding a predefined gallery section
|
535 |
gr.Markdown("### Generated Images")
|
536 |
predefined_gallery = gr.Gallery(label="Generated Images", columns=3, show_label=False, value=load_predefined_images())
|
|
|
541 |
# Adding a disclaimer
|
542 |
gr.Markdown("**Disclaimer:**")
|
543 |
gr.Markdown("This is the demo space for generating images using Stable Diffusion with grids, filters, templates, quality styles, and types. Try the sample prompts to generate higher quality images. Try the sample prompts for generating higher quality images.<a href='https://huggingface.co/spaces/prithivMLmods/Top-Prompt-Collection' target='_blank'>Try prompts</a>.")
|
544 |
+
gr.Markdown("**Local or Colab ??:**")
|
545 |
+
gr.Markdown("This repository helps you run and work with Hugging Face models on your local CPU or using Colab Notebooks. If you find it helpful, give it a like or starring the repository.<a href='https://github.com/PRITHIVSAKTHIUR/How-to-run-huggingface-spaces-on-local-machine-demo' target='_blank'>Visit repo.</a>.")
|
546 |
gr.Markdown("**Note:**")
|
547 |
gr.Markdown("⚠️ users are accountable for the content they generate and are responsible for ensuring it meets appropriate ethical standards.")
|
|
|
548 |
#gr.HTML(html_content)
|
549 |
if __name__ == "__main__":
|
550 |
demo.queue(max_size=40).launch()
|