mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-21 02:19:59 +08:00
commit
2c7860d2c5
@ -1,6 +1,6 @@
|
||||
Metadata-Version: 2.1
|
||||
Name: gradio
|
||||
Version: 2.8.0
|
||||
Version: 2.8.2
|
||||
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
|
||||
|
@ -1 +1 @@
|
||||
2.8.0
|
||||
2.8.2
|
@ -6,10 +6,10 @@ else
|
||||
echo "Uploading to pypi"
|
||||
set -e
|
||||
git pull origin master
|
||||
old_version=$(ggrep -Po "(?<=version=\")[^\"]+(?=\")" setup.py)
|
||||
old_version=$(grep -Po "(?<=version=\")[^\"]+(?=\")" setup.py)
|
||||
echo "Current version is $old_version. New version?"
|
||||
read new_version
|
||||
gsed -i "s/version=\"$old_version\"/version=\"$new_version\"/g" setup.py
|
||||
sed -i "s/version=\"$old_version\"/version=\"$new_version\"/g" setup.py
|
||||
read -p "frontend updates? " -r
|
||||
if [[ $REPLY =~ ^[Yy]$ ]]
|
||||
then
|
||||
@ -17,7 +17,7 @@ else
|
||||
cd ui
|
||||
npm run build
|
||||
cd ..
|
||||
aws s3 cp gradio/templates/frontend s3://gradio/$new_version/ --recursive
|
||||
aws s3 cp gradio/templates/frontend s3://gradio/$new_version/ --recursive # requires aws cli (contact maintainers for credentials)
|
||||
fi
|
||||
rm -r dist/*
|
||||
rm -r build/*
|
||||
|
2
setup.py
2
setup.py
@ -5,7 +5,7 @@ except ImportError:
|
||||
|
||||
setup(
|
||||
name="gradio",
|
||||
version="2.8.0",
|
||||
version="2.8.2",
|
||||
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",
|
||||
|
Loading…
Reference in New Issue
Block a user