Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -68,10 +68,17 @@ outputs = gr.Image(type="numpy", label="Output Image")
|
|
68 |
|
69 |
# Define the text description within an HTML <div> element
|
70 |
description_html = """
|
71 |
-
<div>
|
72 |
-
|
73 |
-
</
|
74 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
|
76 |
# Launch the Gradio interface with the description below it
|
77 |
gr.Interface(
|
|
|
68 |
|
69 |
# Define the text description within an HTML <div> element
|
70 |
description_html = """
|
71 |
+
<div class="footer">
|
72 |
+
<p>Model by <a href="https://deci.ai" style="text-decoration: underline;" target="_blank">tuba.ai</a> - Gradio Demo by 🤗 Hugging Face
|
73 |
+
</p>
|
74 |
+
</div>
|
75 |
+
<div class="acknowledgments">
|
76 |
+
<p><h4>LICENSE</h4>
|
77 |
+
The model is licensed with a <a href="" 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/Deci/DeciDiffusion-v1-0/blob/main/LICENSE-WEIGHTS.md" target="_blank" style="text-decoration: underline;" target="_blank">read the license</a></p>
|
78 |
+
<p><h4>Biases and content acknowledgment</h4>
|
79 |
+
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/Deci/DeciDiffusion-v1-0" style="text-decoration: underline;" target="_blank">model card</a></p>
|
80 |
+
</div>
|
81 |
+
"""
|
82 |
|
83 |
# Launch the Gradio interface with the description below it
|
84 |
gr.Interface(
|