Explorar el Código

Disable gradio analytics globally

oobabooga hace 2 años
padre
commit
cf2c4e740b
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      server.py

+ 4 - 0
server.py

@@ -1,3 +1,7 @@
+import os
+
+os.environ['GRADIO_ANALYTICS_ENABLED'] = 'False'
+
 import io
 import json
 import re