Skip to content

Commit

Permalink
Disable Gradio Analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
C0untFloyd committed Jun 3, 2024
1 parent 52f2bf5 commit 4236385
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def prepare_environment():
os.environ["TEMP"] = os.environ["TMP"] = os.path.abspath(os.path.join(os.getcwd(), "temp"))
os.makedirs(os.environ["TEMP"], exist_ok=True)
os.environ["GRADIO_TEMP_DIR"] = os.environ["TEMP"]
os.environ['GRADIO_ANALYTICS_ENABLED'] = '0'


def run():
Expand Down

0 comments on commit 4236385

Please sign in to comment.