Skip to content

Commit

Permalink
Add run scripts for shell
Browse files Browse the repository at this point in the history
  • Loading branch information
lonrun committed Apr 15, 2023
1 parent 60881ed commit 08eb256
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
@@ -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 changes: 3 additions & 0 deletions run_continuous.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
argument="--continuous"
./run.sh "$argument"

0 comments on commit 08eb256

Please sign in to comment.