svjack commited on
Commit
7fe8a56
·
verified ·
1 Parent(s): c72ee7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -0
app.py CHANGED
@@ -1,3 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import subprocess
2
  import re
3
  from typing import List, Tuple, Optional
 
1
+ '''
2
+ sudo apt-get update && sudo apt-get install git-lfs ffmpeg cbm
3
+ # Clone this repository
4
+ git clone https://huggingface.co/spaces/svjack/SAM2Long-Demo
5
+ # Go into the repository
6
+ cd SAM2Long-Demo
7
+ ### Install dependencies ###
8
+ conda create --name py310 python=3.10
9
+ conda activate py310
10
+ # Install ipykernel and add the environment to Jupyter
11
+ pip install ipykernel
12
+ python -m ipykernel install --user --name py310 --display-name "py310"
13
+ pip install -r requirements.txt
14
+ python app.py
15
+ '''
16
+
17
  import subprocess
18
  import re
19
  from typing import List, Tuple, Optional