Spaces:
Runtime error
Runtime error
wondervictor
commited on
Commit
•
3a33785
1
Parent(s):
cbd44c2
update sam2
Browse files
app.py
CHANGED
@@ -2,9 +2,11 @@ import os
|
|
2 |
import spaces
|
3 |
from pip._internal import main
|
4 |
|
5 |
-
os.system('python model/segment_anything_2/setup.py build_ext --inplace')
|
6 |
|
7 |
main(['install', 'timm==1.0.8'])
|
|
|
|
|
8 |
import timm
|
9 |
|
10 |
print("installed", timm.__version__)
|
|
|
2 |
import spaces
|
3 |
from pip._internal import main
|
4 |
|
5 |
+
# os.system('python model/segment_anything_2/setup.py build_ext --inplace')
|
6 |
|
7 |
main(['install', 'timm==1.0.8'])
|
8 |
+
main(['install', 'samv2'])
|
9 |
+
|
10 |
import timm
|
11 |
|
12 |
print("installed", timm.__version__)
|