mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-21 01:01:05 +08:00
c22ec0fb22
- add pwd check to the scripts
12 lines
285 B
Bash
12 lines
285 B
Bash
#!/bin/bash
|
|
if [ -z "$(ls | grep CONTRIBUTING.md)" ]; then
|
|
echo "Please run the script from repo directory"
|
|
exit -1
|
|
else
|
|
echo "Installing requirements for tests"
|
|
pip install --upgrade pip
|
|
pip install -r gradio.egg-info/requires.txt
|
|
pip install -r test/requirements.txt
|
|
fi
|
|
|