summaryrefslogtreecommitdiff
path: root/install.sh
blob: 76174c4a9c6c45ab6646b57cf64399d8515d9cf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

if [ -n "$(which pip)" ]; then
  echo installing deps using pip
  pip install openai
  exit 0
fi

if [ -n "$(which pip3)" ]; then
  echo installing deps using pip3
  pip3 install openai
  exit 0
fi

echo pip or pip3 not found
exit 1