Olivier-Truong commited on
Commit
8c3c072
1 Parent(s): d70a754

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -5
app.py CHANGED
@@ -23,11 +23,11 @@ tts.to("cpu") # no GPU or Amd
23
 
24
  def predict(prompt, language, audio_file_pth, mic_file_path, use_mic, agree, request: gr.Request):
25
  """
26
- En raison du grand nombre d'abus observés dans les journaux de la console, je suis contraint d'intégrer
27
- « l'affichage d'informations supplémentaires » relatives à l'utilisation de cet espace.
28
- Pour rappel, l'envoi de contenus illégaux (contenus se*uels, offensants ou proférant des menaces), quel que
29
- soit la langue, est bien entendu INTERDIT. Je ne saurais être tenu responsable de ceux qui enfreindraient une
30
- utilisation strictement [ÉTHIQUE et MORALE] de ce modèle.
31
  """
32
 
33
  try:
@@ -124,6 +124,15 @@ Leave a star on the Github <a href="https://github.com/coqui-ai/TTS">TTS</a>, wh
124
  <a href="https://huggingface.co/spaces/coqui/xtts?duplicate=true">
125
  <img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
126
  </p>
 
 
 
 
 
 
 
 
 
127
  """
128
 
129
  article = """
 
23
 
24
  def predict(prompt, language, audio_file_pth, mic_file_path, use_mic, agree, request: gr.Request):
25
  """
26
+ Due to the large number of abuses observed in the console logs, I have been forced to integrate the ‘display of additional information’ relating to the use of this space.
27
+ I have been obliged to include a ‘display of additional information’ relating to the use of this area.
28
+ As a reminder, sending illegal content (se*ual, offensive or threatening content) in any language is of course FORBIDDEN.
29
+ language, is of course FORBIDDEN. I cannot be held responsible for those who violate a strictly [ETHICAL and MORAL] use of this space.
30
+ use of this model.
31
  """
32
 
33
  try:
 
124
  <a href="https://huggingface.co/spaces/coqui/xtts?duplicate=true">
125
  <img style="margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
126
  </p>
127
+ <p>
128
+ <br>
129
+ Due to the large number of abuses observed in the console's logs, ‘additional information’ on the use of this space has been added.
130
+ <br>
131
+ As a reminder, sending illegal content (se*ual, offensive or threatening content) in any language is, of course, FORBIDDEN.
132
+ <br>
133
+ The authors of this space cannot be held responsible for those who violate the strictly [ETHICAL AND MORAL] use of this model.
134
+ <br>
135
+ </p>
136
  """
137
 
138
  article = """