mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-15 02:11:15 +08:00
Merge branch 'master' of github.com:gradio-app/gradio
This commit is contained in:
commit
e9a65b72d9
@ -1,11 +1,11 @@
|
||||
Metadata-Version: 1.0
|
||||
Name: gradio
|
||||
Version: 2.0.6
|
||||
Version: 2.0.7
|
||||
Summary: Python library for easily interacting with trained machine learning models
|
||||
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
|
||||
|
@ -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}
|
||||
|
@ -1 +1 @@
|
||||
2.0.6
|
||||
2.0.7
|
||||
|
3
setup.py
3
setup.py
@ -5,13 +5,14 @@ except ImportError:
|
||||
|
||||
setup(
|
||||
name='gradio',
|
||||
version='2.0.6',
|
||||
version='2.0.7',
|
||||
include_package_data=True,
|
||||
description='Python library for easily interacting with trained machine learning models',
|
||||
author='Abubakar Abid',
|
||||
author_email='a12d@stanford.edu',
|
||||
url='https://github.com/gradio-app/gradio-UI',
|
||||
packages=['gradio'],
|
||||
license='Apache License 2.0',
|
||||
keywords=['machine learning', 'visualization', 'reproducibility'],
|
||||
install_requires=[
|
||||
'numpy',
|
||||
|
Loading…
Reference in New Issue
Block a user