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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -14
app.py CHANGED
@@ -20,18 +20,5 @@ 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
- <div class="footer">
26
- <p> Gradio Demo by 🤗 Majushri
27
- </p>
28
- </div>
29
- <div class="acknowledgments">
30
- <p><h4>LICENSE</h4>
31
- The model is licensed with a <a href="https://huggingface.co/spaces/CompVis/stable-diffusion-license" style="text-decoration: underline;" target="_blank">CreativeML Open RAIL-M</a> license. The authors claim no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in this license. The license forbids you from sharing any content that violates any laws, produce any harm to a person, disseminate any personal information that would be meant for harm, spread misinformation and target vulnerable groups. For the full list of restrictions please <a href="https://huggingface.co/spaces/CompVis/stable-diffusion-license" target="_blank" style="text-decoration: underline;" target="_blank">read the license</a></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()
 
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
  iface.launch()