mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-05 11:10:03 +08:00
config hotfix and v. 2.9b23 (#1158)
* config fix * updated PyPi version to 2.9b23
This commit is contained in:
parent
ad1fffd496
commit
6a34a67b0a
@ -1,6 +1,6 @@
|
|||||||
Metadata-Version: 2.1
|
Metadata-Version: 2.1
|
||||||
Name: gradio
|
Name: gradio
|
||||||
Version: 2.9b21
|
Version: 2.9b23
|
||||||
Summary: Python library for easily interacting with trained machine learning models
|
Summary: Python library for easily interacting with trained machine learning models
|
||||||
Home-page: https://github.com/gradio-app/gradio-UI
|
Home-page: https://github.com/gradio-app/gradio-UI
|
||||||
Author: Abubakar Abid, Ali Abid, Ali Abdalla, Dawood Khan, Ahsen Khaliq, Pete Allen, Ömer Faruk Özdemir
|
Author: Abubakar Abid, Ali Abid, Ali Abdalla, Dawood Khan, Ahsen Khaliq, Pete Allen, Ömer Faruk Özdemir
|
||||||
|
@ -274,7 +274,6 @@ class Blocks(BlockContext):
|
|||||||
self.enable_queue = True
|
self.enable_queue = True
|
||||||
else:
|
else:
|
||||||
self.enable_queue = enable_queue or False
|
self.enable_queue = enable_queue or False
|
||||||
self.config = self.get_config_file()
|
|
||||||
|
|
||||||
def render(self):
|
def render(self):
|
||||||
if Context.root_block is not None:
|
if Context.root_block is not None:
|
||||||
@ -387,6 +386,7 @@ class Blocks(BlockContext):
|
|||||||
Context.root_block = None
|
Context.root_block = None
|
||||||
else:
|
else:
|
||||||
self.parent.children.extend(self.children)
|
self.parent.children.extend(self.children)
|
||||||
|
self.config = self.get_config_file()
|
||||||
|
|
||||||
def load(
|
def load(
|
||||||
self, fn: Callable, inputs: List[Component], outputs: List[Component]
|
self, fn: Callable, inputs: List[Component], outputs: List[Component]
|
||||||
@ -461,6 +461,7 @@ class Blocks(BlockContext):
|
|||||||
local_url (str): Locally accessible link to the demo
|
local_url (str): Locally accessible link to the demo
|
||||||
share_url (str): Publicly accessible link to the demo (if share=True, otherwise None)
|
share_url (str): Publicly accessible link to the demo (if share=True, otherwise None)
|
||||||
"""
|
"""
|
||||||
|
self.config = self.get_config_file()
|
||||||
if (
|
if (
|
||||||
auth
|
auth
|
||||||
and not callable(auth)
|
and not callable(auth)
|
||||||
|
@ -1 +1 @@
|
|||||||
2.9b21
|
2.9b23
|
2
setup.py
2
setup.py
@ -9,7 +9,7 @@ long_description = (this_directory / "README.md").read_text()
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="gradio",
|
name="gradio",
|
||||||
version="2.9b21",
|
version="2.9b23",
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
description="Python library for easily interacting with trained machine learning models",
|
description="Python library for easily interacting with trained machine learning models",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
|
Loading…
Reference in New Issue
Block a user