mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +08:00
910d5d376f
- Update requirements.txt - Add a warning to create_test_requirements.sh
11 lines
309 B
Bash
11 lines
309 B
Bash
#!/bin/bash
|
|
if [ -z "$(ls | grep CONTRIBUTING.md)" ]; then
|
|
echo "Please run the script from repo directory"
|
|
exit -1
|
|
else
|
|
echo "Creating requirements under test/requirements.txt using requirements.in. Please run this script from unix or wsl!"
|
|
cd test
|
|
pip install --upgrade pip-tools
|
|
pip-compile
|
|
fi
|