Manjushri commited on
Commit
b652d81
1 Parent(s): e8749f9

Update app.py

Browse files

Changed Iteration Description

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,6 +19,6 @@ def txt2img(prompt, guide, steps, Temp):
19
  iface = gr.Interface(fn=txt2img, inputs=[
20
  gr.Textbox(label = 'Input Text Prompt: 77 Token (Keyword) Limit'),
21
  gr.Slider(1, 25, value = 10, step = 1, label = 'Guidance Scale: How close to follow Prompt'),
22
- gr.Slider(20, 75, value = 25, step = 1, label = 'Number of Iterations: more take longer and may or may not improve image quality'),
23
  gr.Slider(.1, 100, value = 1, label='Temperature: Changes probability of Diffusion to Image Array, more info in community comments')], outputs = 'image',title='Stable Diffusion with Keras and TensorFlow CPU or GPU', description='Now Using Keras and TensorFlow with Stable Diffusion. This allows very complex image generation with less code footprint, and less text. Simply type in what you wish to see, adjust the sliders (optional) and click submit. For more information on Keras see https://keras.io/about/ For more informationon about Stable Diffusion or Suggestions for prompts, keywords, artists or styles see https://github.com/Maks-s/sd-akashic <br><br><b>DISCLAIMER: This Text to Image Pipeline has the potential to produce NSFW, Disturbing, or Offensive Images. I am not responsible for what images you produce or what you do with them. By using this Gradio API you consent to taking full responsibility for the images you produce and agree that you are at least 18 years of age.', article = "Code Monkey: <a href=\"https://huggingface.co/Manjushri\">Manjushri</a>")
24
  iface.launch(max_threads=True)
 
19
  iface = gr.Interface(fn=txt2img, inputs=[
20
  gr.Textbox(label = 'Input Text Prompt: 77 Token (Keyword) Limit'),
21
  gr.Slider(1, 25, value = 10, step = 1, label = 'Guidance Scale: How close to follow Prompt'),
22
+ gr.Slider(20, 75, value = 25, step = 1, label = 'Number of Iterations: Anything above 50 may produce the Over Baked Effect'),
23
  gr.Slider(.1, 100, value = 1, label='Temperature: Changes probability of Diffusion to Image Array, more info in community comments')], outputs = 'image',title='Stable Diffusion with Keras and TensorFlow CPU or GPU', description='Now Using Keras and TensorFlow with Stable Diffusion. This allows very complex image generation with less code footprint, and less text. Simply type in what you wish to see, adjust the sliders (optional) and click submit. For more information on Keras see https://keras.io/about/ For more informationon about Stable Diffusion or Suggestions for prompts, keywords, artists or styles see https://github.com/Maks-s/sd-akashic <br><br><b>DISCLAIMER: This Text to Image Pipeline has the potential to produce NSFW, Disturbing, or Offensive Images. I am not responsible for what images you produce or what you do with them. By using this Gradio API you consent to taking full responsibility for the images you produce and agree that you are at least 18 years of age.', article = "Code Monkey: <a href=\"https://huggingface.co/Manjushri\">Manjushri</a>")
24
  iface.launch(max_threads=True)