yxchng commited on
Commit
07163ee
·
1 Parent(s): bd7327b
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,7 +4,8 @@ import subprocess
4
 
5
  import os
6
  print("A")
7
- os.system("curl https://sh.rustup.rs -sSf | sh -s -- -y")
 
8
  os.system('export PATH="$HOME/.cargo/bin:$PATH"')
9
  print("B")
10
  os.system('pip install tokenizers==0.8.1rc1')
 
4
 
5
  import os
6
  print("A")
7
+ os.system("curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > install.sh")
8
+ os.system("sh install.sh -y")
9
  os.system('export PATH="$HOME/.cargo/bin:$PATH"')
10
  print("B")
11
  os.system('pip install tokenizers==0.8.1rc1')