freemt commited on
Commit
4679315
1 Parent(s): 014f466

Update gradio to 3.1.17 in README.md

Browse files
Files changed (4) hide show
  1. README.md +1 -1
  2. install-sw.sh +3 -3
  3. install-sw1.sh +1 -1
  4. start-sshd.sh +3 -0
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 😻
4
  colorFrom: green
5
  colorTo: gray
6
  sdk: gradio
7
- sdk_version: 3.0.17
8
  app_file: app.py
9
  pinned: false
10
  license: mit
4
  colorFrom: green
5
  colorTo: gray
6
  sdk: gradio
7
+ sdk_version: 3.1.7
8
  app_file: app.py
9
  pinned: false
10
  license: mit
install-sw.sh CHANGED
@@ -12,12 +12,12 @@ echo export PATH=~/.local/bin:$PATH > ~/.bashrc
12
  source ~/.bashrc
13
  # ~/.local/bin/poetry install
14
 
15
- wget -c https://deb.nodesource.com/setup_12.x
16
- bash setup_12.x
17
  apt-get install -y nodejs
18
  npm install -g npm@latest
19
  npm install -g nodemon
20
- rm setup_12.x
21
 
22
  # apt upate # alerady done in apt-get install -y nodejs
23
  apt install byobu -y > /dev/null 2>&1
12
  source ~/.bashrc
13
  # ~/.local/bin/poetry install
14
 
15
+ wget -c https://deb.nodesource.com/setup_14.x
16
+ bash setup_14.x
17
  apt-get install -y nodejs
18
  npm install -g npm@latest
19
  npm install -g nodemon
20
+ rm setup_14.x
21
 
22
  # apt upate # alerady done in apt-get install -y nodejs
23
  apt install byobu -y > /dev/null 2>&1
install-sw1.sh CHANGED
@@ -12,7 +12,7 @@ echo export PATH=~/.local/bin:$PATH > ~/.bashrc
12
  source ~/.bashrc
13
  # ~/.local/bin/poetry install
14
 
15
- wget -c https://deb.nodesource.com/setup_12.x
16
  bash setup_14.x
17
  apt-get install -y nodejs
18
  npm install -g npm@latest
12
  source ~/.bashrc
13
  # ~/.local/bin/poetry install
14
 
15
+ wget -c https://deb.nodesource.com/setup_14.x
16
  bash setup_14.x
17
  apt-get install -y nodejs
18
  npm install -g npm@latest
start-sshd.sh ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ apt update && apt-get install openssh-server -y
2
+ /etc/init.d/ssh restart && mkdir -p ~/.ssh && echo ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOl+SiDFL1ZUh1QJ0454eYKtamkMCVs2hhuv3cWN1LU7 id_ed25519_colab > ~/.ssh/authorized_keys
3
+ echo cd /usr/src/app >> ~/.bashrc