Skip to content

Commit

Permalink
adding doc and doc_pub directories to run
Browse files Browse the repository at this point in the history
  • Loading branch information
wehale committed Apr 25, 2024
1 parent 162b4c0 commit a3177b5
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,18 @@ if [ -z "$OPENAI_API_KEY" ]; then
else
echo "Found OPENAI_API_KEY=$OPENAI_API_KEY"
fi


# Check for doc and doc_pub directories
echo "Checking for doc and doc_pub directories"
if [ ! -d "./doc" ]; then
echo "Creating the doc directory"
mkdir doc
fi
if [ ! -d "./doc_pub" ]; then
echo "Creating the doc_pub directory"
mkdir doc_pub
fi

# Run the application
echo "Running the application"
python doc-gen.py $1 $2
Expand Down

0 comments on commit a3177b5

Please sign in to comment.