diff --git a/gradio.egg-info/PKG-INFO b/gradio.egg-info/PKG-INFO index 292eedf376..f628fc879e 100644 --- a/gradio.egg-info/PKG-INFO +++ b/gradio.egg-info/PKG-INFO @@ -5,7 +5,7 @@ Summary: Python library for easily interacting with trained machine learning mod Home-page: https://github.com/gradio-app/gradio-UI Author: Abubakar Abid Author-email: a12d@stanford.edu -License: UNKNOWN +License: Apache License 2.0 Description: UNKNOWN Keywords: machine learning,visualization,reproducibility Platform: UNKNOWN diff --git a/gradio/networking.py b/gradio/networking.py index 60d2611ce9..adc0563619 100644 --- a/gradio/networking.py +++ b/gradio/networking.py @@ -152,7 +152,7 @@ def login(): @app.route("/config/", methods=["GET"]) def get_config(): - if current_user.is_authenticated: + if app.interface.auth is None or current_user.is_authenticated: return jsonify(app.interface.config) else: return {"auth_required": True, "auth_message": app.interface.auth_message}