mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-24 10:54:04 +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
|
||||
Name: gradio
|
||||
Version: 2.9b21
|
||||
Version: 2.9b23
|
||||
Summary: Python library for easily interacting with trained machine learning models
|
||||
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
|
||||
|
@ -274,7 +274,6 @@ class Blocks(BlockContext):
|
||||
self.enable_queue = True
|
||||
else:
|
||||
self.enable_queue = enable_queue or False
|
||||
self.config = self.get_config_file()
|
||||
|
||||
def render(self):
|
||||
if Context.root_block is not None:
|
||||
@ -387,6 +386,7 @@ class Blocks(BlockContext):
|
||||
Context.root_block = None
|
||||
else:
|
||||
self.parent.children.extend(self.children)
|
||||
self.config = self.get_config_file()
|
||||
|
||||
def load(
|
||||
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
|
||||
share_url (str): Publicly accessible link to the demo (if share=True, otherwise None)
|
||||
"""
|
||||
self.config = self.get_config_file()
|
||||
if (
|
||||
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(
|
||||
name="gradio",
|
||||
version="2.9b21",
|
||||
version="2.9b23",
|
||||
include_package_data=True,
|
||||
description="Python library for easily interacting with trained machine learning models",
|
||||
long_description=long_description,
|
||||
|
Loading…
Reference in New Issue
Block a user