mayurchoubey123 commited on
Commit
c8faf17
1 Parent(s): 8cfb550

Update install_pip_and_deps.sh

Browse files
Files changed (1) hide show
  1. install_pip_and_deps.sh +4 -4
install_pip_and_deps.sh CHANGED
@@ -9,16 +9,16 @@ fi
9
  URL="$1"
10
 
11
  # Download get-pip.py script
12
- curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
13
 
14
  # Install pip for Python 3.10
15
- python3.10 get-pip.py
16
 
17
  # Install Flask and mlflow using the pip installed earlier
18
  pip3.10 install Flask mlflow
19
 
20
  # Download mlserve.py script
21
- wget https://huggingface.co/mayurchoubey123/sklearntest/raw/main/mlserve.py
22
 
23
  # Run mlserve.py script with the provided URL
24
- python3.10 mlserve.py "$URL"
 
9
  URL="$1"
10
 
11
  # Download get-pip.py script
12
+ curl https://bootstrap.pypa.io/get-pip.py -o /home/ubuntu/get-pip.py
13
 
14
  # Install pip for Python 3.10
15
+ python3.10 /home/ubuntu/get-pip.py
16
 
17
  # Install Flask and mlflow using the pip installed earlier
18
  pip3.10 install Flask mlflow
19
 
20
  # Download mlserve.py script
21
+ wget -O /home/ubuntu/mlserve.py https://huggingface.co/mayurchoubey123/sklearntest/raw/main/mlserve.py
22
 
23
  # Run mlserve.py script with the provided URL
24
+ python3.10 mlserve.py "$URL"