liuyizhang commited on
Commit
5e2a122
1 Parent(s): 55742db

update app.py

Browse files
Files changed (2) hide show
  1. app.py +4 -1
  2. requirements.txt +2 -2
app.py CHANGED
@@ -1,7 +1,10 @@
 
 
 
 
1
  import gradio as gr
2
 
3
  import argparse
4
- import os
5
  import copy
6
 
7
  import numpy as np
 
1
+ import os
2
+ os.system("pip install -e segment_anything")
3
+ os.system("pip install -e GroundingDINO")
4
+
5
  import gradio as gr
6
 
7
  import argparse
 
8
  import copy
9
 
10
  import numpy as np
requirements.txt CHANGED
@@ -19,5 +19,5 @@ torchvision
19
  transformers
20
  yapf
21
  numba
22
- GroundingDINO
23
- segment_anything
 
19
  transformers
20
  yapf
21
  numba
22
+ # GroundingDINO
23
+ # segment_anything