lukestanley commited on
Commit
5abc6b6
1 Parent(s): 2857585

Make Gradio app text more concise

Browse files
Files changed (1) hide show
  1. app.py +5 -22
app.py CHANGED
@@ -38,32 +38,15 @@ examples = [
38
  ["Your idea of a balanced diet is a biscuit in each hand."]
39
  ]
40
 
41
- description = """
42
- # ❄️ ChillTranslator 🤬 ➡️ 😎💬
43
-
44
- This is an early experimental tool aimed at helping reduce online toxicity by automatically ➡️ transforming 🌶️ spicy or toxic comments into constructive, ❤️ kinder dialogues using AI and large language models.
45
-
46
- ChillTranslator aims to help make online interactions more healthy.
47
- It aims to:
48
- - **Convert** text to less toxic variations
49
- - **Preserve original intent**, focusing on constructive dialogue
50
 
 
51
  The project is on GitHub:
52
  [https://github.com/lukestanley/ChillTranslator](https://github.com/lukestanley/ChillTranslator)
53
  The repo is the same repo for the HuggingFace Space, the serverless worker, and the logic.
54
 
55
- ## Contributing 🤝
56
-
57
- Contributions are very welcome!
58
- Especially:
59
- - pull requests,
60
- - free GPU credits
61
- - LLM API credits / access.
62
-
63
- ChillTranslator is released under the MIT License.
64
-
65
- Help make the internet a kinder place, one comment at a time.
66
- Your contribution could make a big difference!
67
  """
68
 
69
  from chill import improvement_loop
@@ -96,7 +79,7 @@ demo = gr.Interface(
96
  examples=examples,
97
  cache_examples=True,
98
  description=description,
99
- title="ChillTranslator",
100
  allow_flagging="never",
101
  )
102
 
 
38
  ["Your idea of a balanced diet is a biscuit in each hand."]
39
  ]
40
 
41
+ description = """This is an early experimental tool aimed at helping reduce online toxicity by automatically ➡️ transforming 🌶️ spicy or toxic comments into constructive, ❤️ kinder dialogues using AI and large language models.
 
 
 
 
 
 
 
 
42
 
43
+ ChillTranslator aims to help make online interactions more healthy, with a tool to **convert** text to less toxic variations, **preserve original intent**, focusing on constructive dialogue.
44
  The project is on GitHub:
45
  [https://github.com/lukestanley/ChillTranslator](https://github.com/lukestanley/ChillTranslator)
46
  The repo is the same repo for the HuggingFace Space, the serverless worker, and the logic.
47
 
48
+ Contributions are very welcome! Especially pull requests, free API credits.
49
+ Help make the internet a kinder place, one comment at a time. Your contribution could make a big difference!
 
 
 
 
 
 
 
 
 
 
50
  """
51
 
52
  from chill import improvement_loop
 
79
  examples=examples,
80
  cache_examples=True,
81
  description=description,
82
+ title="❄️ ChillTranslator 🤬 ➡️ 😎💬",
83
  allow_flagging="never",
84
  )
85