Chatbot hotfix (#564)

* fix css style, state

* updated PyPi version to 2.8.0b4

* updated PyPi version to 2.8.0b5

Co-authored-by: Ali Abid <aliabid94@gmail.com>
This commit is contained in:
aliabid94 2022-02-08 15:16:34 -08:00 committed by GitHub
parent e19eb0dc3c
commit c079055049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 4 deletions

View File

@ -271,7 +271,7 @@
</div>
{/if}
{#each output_components as output_component, i}
{#if output_values[i] !== null}
{#if output_values[i] !== null && output_component.name !== "state"}
<div class="component" key={i}>
<div class="panel-header mb-1.5">{output_component.label}</div>
<svelte:component

View File

@ -14,6 +14,11 @@ window.launchGradio = (config, element_query) => {
} else {
config.static_src = "https://gradio.s3-us-west-2.amazonaws.com/PIP_VERSION";
}
if (config.css) {
let style = document.createElement("style");
style.innerHTML = config.css;
document.head.appendChild(style);
}
if (config.detail === "Not authenticated") {
new Login({
target: target,

View File

@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: gradio
Version: 2.8.0b3
Version: 2.8.0b5
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

View File

@ -1 +1 @@
2.8.0b3
2.8.0b5

View File

@ -5,7 +5,7 @@ except ImportError:
setup(
name="gradio",
version="2.8.0b3",
version="2.8.0b5",
include_package_data=True,
description="Python library for easily interacting with trained machine learning models",
author="Abubakar Abid, Ali Abid, Ali Abdalla, Dawood Khan, Ahsen Khaliq",