Add run scripts for shell

This commit is contained in:
lonrun
2023-04-16 07:37:50 +08:00
parent 60881ed856
commit 08eb2566e4
2 changed files with 12 additions and 0 deletions

9
run.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
python scripts/check_requirements.py requirements.txt
if [ $? -eq 1 ]
then
echo Installing missing packages...
pip install -r requirements.txt
fi
python -m autogpt $@
read -p "Press any key to continue..."

3
run_continuous.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
argument="--continuous"
./run.sh "$argument"