Merge branch 'master' into dawood/3d-image

This commit is contained in:
dawoodkhan82 2022-03-03 21:24:03 -05:00
commit f770cdf4be
6 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: gradio
Version: 2.8.6
Version: 2.8.7
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

@ -280,7 +280,6 @@ class Interface(Launchable):
self.thumbnail = thumbnail
theme = theme if theme is not None else os.getenv("GRADIO_THEME", "default")
self.is_space = True if os.getenv("SYSTEM") == "spaces" else False
DEPRECATED_THEME_MAP = {
"darkdefault": "default",
"darkhuggingface": "dark-huggingface",

View File

@ -88,6 +88,7 @@ class Launchable:
self.height = height
self.width = width
self.favicon_path = favicon_path
self.is_space = True if os.getenv("SYSTEM") == "spaces" else False
if hasattr(self, "encrypt") and self.encrypt is None:
self.encrypt = encrypt

View File

@ -1 +1 @@
2.8.6
2.8.7

View File

@ -5,7 +5,7 @@ if [ -z "$(ls | grep CONTRIBUTING.md)" ]; then
else
echo "Uploading to pypi"
set -e
git pull
git pull origin master
old_version=$(grep -Po "(?<=version=\")[^\"]+(?=\")" setup.py)
echo "Current version is $old_version. New version?"
read new_version

View File

@ -5,7 +5,7 @@ except ImportError:
setup(
name="gradio",
version="2.8.6",
version="2.8.7",
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",