Googlefan commited on
Commit
27dcd4f
·
1 Parent(s): 04e1fa4

refactor(app.py): add environment setup for Rust and pip install

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import os
2
 
3
  os.system("curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y")
4
  os.system(
5
- 'pip install -U "git+https://github.com/tuna2134/sbv2-api#egg=sbv2_bindings&subdirectory=sbv2_bindings"'
6
  )
7
 
8
  import gradio as gr
 
2
 
3
  os.system("curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y")
4
  os.system(
5
+ '. "$HOME/.cargo/env" && pip install -U "git+https://github.com/tuna2134/sbv2-api#egg=sbv2_bindings&subdirectory=sbv2_bindings"'
6
  )
7
 
8
  import gradio as gr