mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-17 11:29:58 +08:00
bash script (#5595)
This commit is contained in:
parent
51a0a2e557
commit
ab2f9e0764
@ -6,7 +6,7 @@ cd "$(dirname ${0})"
|
||||
# You should update the version in package.json before running this script
|
||||
FILE="gradio/package.json"
|
||||
new_version=$(python -c "import json; f = open('$FILE', 'r'); data = json.load(f); print(data['version']); f.close();")
|
||||
GRADIO_VERSION = $new_version
|
||||
GRADIO_VERSION=$new_version
|
||||
|
||||
rm -rf gradio/templates/frontend
|
||||
rm -rf gradio/templates/cdn
|
||||
|
Loading…
Reference in New Issue
Block a user