Browse Source

Disable gradio analytics globally

oobabooga 2 years ago
parent
commit
cf2c4e740b
1 changed files with 4 additions and 0 deletions
  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