mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-17 11:29:58 +08:00
Hotfixes for course demos (#1222)
* images have change() events * fixed update issue * updated version to 2.9b50
This commit is contained in:
parent
c50a2b021a
commit
897d396a00
@ -1,6 +1,6 @@
|
||||
Metadata-Version: 2.1
|
||||
Name: gradio
|
||||
Version: 2.9b26
|
||||
Version: 2.9b50
|
||||
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
|
||||
@ -10,7 +10,7 @@ Keywords: machine learning,visualization,reproducibility
|
||||
Platform: UNKNOWN
|
||||
Description-Content-Type: text/markdown
|
||||
License-File: LICENSE
|
||||
|
||||
|
||||
[](https://circleci.com/gh/gradio-app/gradio) [](https://badge.fury.io/py/gradio) [](https://codecov.io/gh/gradio-app/gradio) [](https://pypi.org/project/gradio/) [](https://twitter.com/gradio)
|
||||
|
||||
# Welcome to Gradio
|
||||
|
@ -345,7 +345,7 @@ class Blocks(BlockContext):
|
||||
prediction_value = predictions[i]
|
||||
if type(
|
||||
prediction_value
|
||||
) is dict and "update" in prediction_value.get("__type__"):
|
||||
) is dict and "update" in prediction_value.get("__type__", ""):
|
||||
if prediction_value["__type__"] == "generic_update":
|
||||
del prediction_value["__type__"]
|
||||
prediction_value = block.__class__.update(
|
||||
|
@ -1325,7 +1325,7 @@ class Dropdown(Radio):
|
||||
)
|
||||
|
||||
|
||||
class Image(Editable, Clearable, IOComponent):
|
||||
class Image(Editable, Clearable, Changeable, IOComponent):
|
||||
"""
|
||||
Component creates an image component with input and output capabilities.
|
||||
|
||||
|
@ -59,8 +59,8 @@
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.1/iframeResizer.contentWindow.min.js"></script>
|
||||
<script type="module" crossorigin src="./assets/index.0064653a.js"></script>
|
||||
<link rel="stylesheet" href="./assets/index.bac7eb5e.css">
|
||||
<script type="module" crossorigin src="./assets/index.43a672aa.js"></script>
|
||||
<link rel="stylesheet" href="./assets/index.0368fdc3.css">
|
||||
</head>
|
||||
|
||||
<body
|
||||
|
@ -1 +1 @@
|
||||
2.9b33
|
||||
2.9b50
|
2
setup.py
2
setup.py
@ -9,7 +9,7 @@ long_description = (this_directory / "README.md").read_text()
|
||||
|
||||
setup(
|
||||
name="gradio",
|
||||
version="2.9b26",
|
||||
version="2.9b50",
|
||||
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