Disable Gradio Telemetry

#39
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import os
2
  import shutil
3
  import subprocess
4
-
5
  import gradio as gr
6
 
7
  from huggingface_hub import create_repo, HfApi
 
1
  import os
2
  import shutil
3
  import subprocess
4
+ os.environ["GRADIO_ANALYTICS_ENABLED"] = "False"
5
  import gradio as gr
6
 
7
  from huggingface_hub import create_repo, HfApi