cd .. | |
git clone https://github.com/gradio-app/gradio | |
cd gradio/js/_website/generate_jsons/ | |
pip install --upgrade pip | |
pip install --upgrade -r ~/app/requirements.txt | |
pip install boto3 | |
python generate.py | |
cd ../src/lib/json/ | |
cp changelog.json demos.json docs.json version.json guides/*.json ~/app/sources/ | |
cd ~/app | |
git add sources | |
git commit -m "updated gradio sources" | |
git push | |