Spaces:
Runtime error
Runtime error
Commit
•
25423bd
1
Parent(s):
dd86f00
Add disclaimer about content and biases (#5)
Browse files- Add disclaimer about content and biases (adba11a9bcdc60982ad7fea1673b959acf4c2d99)
Co-authored-by: Omar Sanseviero <[email protected]>
app.py
CHANGED
@@ -75,4 +75,21 @@ with gr.Blocks(css='style.css') as demo:
|
|
75 |
prompt.submit(fn=generate, inputs=inputs, outputs=result)
|
76 |
run_button.click(fn=generate, inputs=inputs, outputs=result)
|
77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
demo.queue(api_open=False, max_size=15).launch()
|
|
|
75 |
prompt.submit(fn=generate, inputs=inputs, outputs=result)
|
76 |
run_button.click(fn=generate, inputs=inputs, outputs=result)
|
77 |
|
78 |
+
with gr.Accordion(label="Biases and content acknowledgment", open=False):
|
79 |
+
gr.HTML(
|
80 |
+
"""<div class="acknowledgments">
|
81 |
+
<h4>Biases and content acknowledgment</h4>
|
82 |
+
<p>
|
83 |
+
Despite how impressive being able to turn text into video is, beware to the fact that this model may output content that reinforces or exacerbates societal biases. The training data includes LAION5B, ImageNet, Webvid and other public datasets. The model was not trained to realistically represent people or events, so using it to generate such content is beyond the model's capabilities.
|
84 |
+
</p>
|
85 |
+
<p>
|
86 |
+
It is not intended to generate content that is demeaning or harmful to people or their environment, culture, religion, etc. Similarly, it is not allowed to generate pornographic, violent and bloody content generation. The model is meant for research purposes.
|
87 |
+
</p>
|
88 |
+
<p>
|
89 |
+
To learn more about the model, head to its <a href="https://huggingface.co/damo-vilab/modelscope-damo-text-to-video-synthesis" style="text-decoration: underline;" target="_blank">model card</a>.
|
90 |
+
</p>
|
91 |
+
</div>
|
92 |
+
"""
|
93 |
+
)
|
94 |
+
|
95 |
demo.queue(api_open=False, max_size=15).launch()
|