Manjushri commited on
Commit
3f57c1a
1 Parent(s): a7e34da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -20,9 +20,8 @@ iface = gr.Interface(fn=txt2img, inputs=[
20
  gr.Textbox(label = 'Input Text Prompt'),
21
  gr.Slider(2, 20, value = 9, label = 'Guidence Scale'),
22
  gr.Slider(10, 100, value = 50, step = 1, label = 'Number of Iterations'),
23
- gr.Slider(.01, 100, value=1)], 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. https://keras.io/about/')
24
- gr.HTML(
25
- """
26
  <div class="footer">
27
  <p> Gradio Demo by 🤗 Majushri
28
  </p>
@@ -33,7 +32,6 @@ The model is licensed with a <a href="https://huggingface.co/spaces/CompVis/stab
33
  <p><h4>Biases and content acknowledgment</h4>
34
  Despite how impressive being able to turn text into image is, beware to the fact that this model may output content that reinforces or exacerbates societal biases, as well as realistic faces, pornography and violence. The model was trained on the <a href="https://laion.ai/blog/laion-5b/" style="text-decoration: underline;" target="_blank">LAION-5B dataset</a>, which scraped non-curated image-text-pairs from the internet (the exception being the removal of illegal content) and is meant for research purposes. You can read more in the <a href="https://huggingface.co/CompVis/stable-diffusion-v1-4" style="text-decoration: underline;" target="_blank">model card</a></p>
35
  </div>
36
- """
37
- )
38
 
39
  iface.launch()
 
20
  gr.Textbox(label = 'Input Text Prompt'),
21
  gr.Slider(2, 20, value = 9, label = 'Guidence Scale'),
22
  gr.Slider(10, 100, value = 50, step = 1, label = 'Number of Iterations'),
23
+ gr.Slider(.01, 100, value=1)], 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. https://keras.io/about/',
24
+ gr.HTML("""
 
25
  <div class="footer">
26
  <p> Gradio Demo by 🤗 Majushri
27
  </p>
 
32
  <p><h4>Biases and content acknowledgment</h4>
33
  Despite how impressive being able to turn text into image is, beware to the fact that this model may output content that reinforces or exacerbates societal biases, as well as realistic faces, pornography and violence. The model was trained on the <a href="https://laion.ai/blog/laion-5b/" style="text-decoration: underline;" target="_blank">LAION-5B dataset</a>, which scraped non-curated image-text-pairs from the internet (the exception being the removal of illegal content) and is meant for research purposes. You can read more in the <a href="https://huggingface.co/CompVis/stable-diffusion-v1-4" style="text-decoration: underline;" target="_blank">model card</a></p>
34
  </div>
35
+ """)
 
36
 
37
  iface.launch()