gradio/scripts/install_gradio.sh
Ömer Faruk Özdemir fc054a16ab
reload-dev-mode (#1370)
* reload-dev-mode

- add dev reload mode

* reload-dev-mode

- support reload mode from different directories as well

* reload-dev-mode

- add file reload to the dev-reload-mode

* Update contributing

* Update CONTRIBUTING.md

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* reload-dev-mode

- fetch gradio_folder with inspect, allowing running in reload dev mode from any directory
- unite user and dev reload mode

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-25 10:12:24 +03:00

9 lines
174 B
Bash

#!/bin/bash
if [ -z "$(ls | grep CONTRIBUTING.md)" ]; then
echo "Please run the script from repo directory"
exit -1
else
echo "Installing gradio"
pip install -e .
fi