gradio_docs_rag_hfchattool / how2_generate_gradio_docs.txt
Csplk's picture
Update README, add how to generate gradio docs used in sources directory steps
dd7040c
raw
history blame
378 Bytes
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