make it possible for user to enable gradio analytics by setting GRADIO_ANALYTICS_ENABLED=True
This commit is contained in:
parent
501f40d834
commit
c1294d849a
1 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@ index_url = os.environ.get('INDEX_URL', "")
|
||||||
stored_commit_hash = None
|
stored_commit_hash = None
|
||||||
skip_install = False
|
skip_install = False
|
||||||
|
|
||||||
|
if 'GRADIO_ANALYTICS_ENABLED' not in os.environ:
|
||||||
os.environ['GRADIO_ANALYTICS_ENABLED'] = 'False'
|
os.environ['GRADIO_ANALYTICS_ENABLED'] = 'False'
|
||||||
|
|
||||||
def check_python_version():
|
def check_python_version():
|
||||||
|
|
Loading…
Reference in a new issue