Spaces:
Sleeping
Sleeping
Luke Stanley
commited on
Commit
·
9f20b49
1
Parent(s):
acc8b42
Add description to app
Browse files
app.py
CHANGED
@@ -45,12 +45,29 @@ examples = [
|
|
45 |
["Your idea of a balanced diet is a biscuit in each hand."]
|
46 |
]
|
47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
demo = gr.Interface(
|
49 |
fn=chill_out,
|
50 |
inputs="text",
|
51 |
outputs="text",
|
52 |
examples=examples,
|
53 |
-
cache_examples=True
|
|
|
54 |
)
|
55 |
|
56 |
demo.launch(max_threads=1, share=True)
|
|
|
45 |
["Your idea of a balanced diet is a biscuit in each hand."]
|
46 |
]
|
47 |
|
48 |
+
description = """
|
49 |
+
# ❄️ ChillTranslator 🤬 ➡️ 😎💬
|
50 |
+
|
51 |
+
This is an early experimental tool aimed at reducing online toxicity by automatically transforming spicy or toxic comments into constructive, kinder dialogues using AI and large language models.
|
52 |
+
|
53 |
+
ChillTranslator aims to help make online interactions more healthy and is now available for you to try directly in your browser.
|
54 |
+
|
55 |
+
- **Converts** text to less toxic variations
|
56 |
+
- **Preserves original intent**, focusing on constructive dialogue
|
57 |
+
|
58 |
+
Try out the ChillTranslator here, or check out the project on GitHub:
|
59 |
+
[https://github.com/lukestanley/ChillTranslator](https://github.com/lukestanley/ChillTranslator)
|
60 |
+
|
61 |
+
ChillTranslator is released under the MIT License and contributions are very welcome!
|
62 |
+
"""
|
63 |
+
|
64 |
demo = gr.Interface(
|
65 |
fn=chill_out,
|
66 |
inputs="text",
|
67 |
outputs="text",
|
68 |
examples=examples,
|
69 |
+
cache_examples=True,
|
70 |
+
description=description
|
71 |
)
|
72 |
|
73 |
demo.launch(max_threads=1, share=True)
|