Merge pull request #1743 from lonrun/lonrundev

Add run scripts for shell
This commit is contained in:
Richard Beales
2023-04-16 20:59:01 +01:00
committed by GitHub
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"