nqdior commited on
Commit
0f8411e
1 Parent(s): 9907bf7
Files changed (1) hide show
  1. app.py +29 -3
app.py CHANGED
@@ -258,9 +258,18 @@ def update_submode(submode):
258
  with gr.Blocks(css=css, theme="NoCrypt/miku") as demo:
259
  with gr.Column(elem_id="col-container"):
260
  gr.Markdown(
261
- f"""
262
- # Demo Stable Image API
263
- Learn more about the [Stable Diffusion 3 series](https://stability.ai/news/stable-diffusion-3). Try on [Stability AI API](https://platform.stability.ai/docs/api-reference#tag/Generate/paths/~1v2beta~1stable-image~1generate~1sd3/post), [Stable Assistant](https://stability.ai/stable-assistant), or on Discord via [Stable Artisan](https://stability.ai/stable-artisan). Run locally with [ComfyUI](https://github.com/comfyanonymous/ComfyUI) or [diffusers](https://github.com/huggingface/diffusers)
 
 
 
 
 
 
 
 
 
264
  """
265
  )
266
 
@@ -412,6 +421,7 @@ with gr.Blocks(css=css, theme="NoCrypt/miku") as demo:
412
  op_down = gr.Slider(
413
  label="down", minimum=0, maximum=2000, step=4, value=200
414
  )
 
415
  gr.Examples(examples=examples, inputs=[prompt])
416
 
417
  copy_filed = gr.TextArea(
@@ -422,7 +432,23 @@ with gr.Blocks(css=css, theme="NoCrypt/miku") as demo:
422
  show_copy_button=True,
423
  container=False,
424
  )
 
 
 
 
 
425
 
 
 
 
 
 
 
 
 
 
 
 
426
  gr.on(
427
  triggers=[run_button.click, prompt.submit, negative_prompt.submit],
428
  fn=generate,
 
258
  with gr.Blocks(css=css, theme="NoCrypt/miku") as demo:
259
  with gr.Column(elem_id="col-container"):
260
  gr.Markdown(
261
+ f"""
262
+ # Stability AI - Developer Platform WebUI
263
+ **Overview**
264
+ Stability AI’s Stable Image services offer a growing set of APIs for developers to build the best in class image applications.
265
+
266
+ - **Disrupting Content Creation:** Stability’s Image APIs are the foundation for applications disrupting publishing, media, gaming, marketing, advertising, design, and more.
267
+ - **For Developers:** Application developers can build advanced features for designers, photographers, content creators, and a variety of B2C customers.
268
+ - **Simple APIs:** Stability AI is focused on delivering simple APIs for easy integration into applications with a high bar for quality, alignment, speed, and safety.
269
+
270
+ Get Started Now: https://platform.stability.ai/docs/getting-started/stable-image
271
+
272
+ Contact: D̷ELL@Stability AI - Advocate (https://x.com/xqdior) / Author: umise (https://x.com/UiE029)
273
  """
274
  )
275
 
 
421
  op_down = gr.Slider(
422
  label="down", minimum=0, maximum=2000, step=4, value=200
423
  )
424
+
425
  gr.Examples(examples=examples, inputs=[prompt])
426
 
427
  copy_filed = gr.TextArea(
 
432
  show_copy_button=True,
433
  container=False,
434
  )
435
+ gr.Markdown(
436
+ f"""
437
+ ## License
438
+ This work is licensed under a
439
+ [Creative Commons Attribution-NonCommercial 4.0 International License][cc-by-nc].
440
 
441
+ [![CC BY-NC 4.0][cc-by-nc-image]][cc-by-nc]
442
+
443
+ [cc-by-nc]: https://creativecommons.org/licenses/by-nc/4.0/
444
+ [cc-by-nc-image]: https://licensebuttons.net/l/by-nc/4.0/88x31.png
445
+ [cc-by-nc-shield]: https://img.shields.io/badge/License-CC%20BY--NC%204.0-lightgrey.svg
446
+
447
+ ## MIT Licensed Source Code
448
+ Portions of this work are licensed under the MIT License. For more details, please refer to the original source at
449
+ [stabilityai/stable-diffusion-3-medium]: https://huggingface.co/spaces/stabilityai/stable-diffusion-3-medium
450
+ """
451
+ )
452
  gr.on(
453
  triggers=[run_button.click, prompt.submit, negative_prompt.submit],
454
  fn=generate,