- handler.py +1 -0
handler.py
CHANGED
@@ -26,6 +26,7 @@ if is_production:
|
|
26 |
sys.path.insert(0, '/repository')
|
27 |
|
28 |
if install_stuff:
|
|
|
29 |
result = subprocess.run(['pip', 'install', '-e', 'GroundingDINO'], check=True)
|
30 |
print(f'pip install GroundingDINO = {result}')
|
31 |
|
|
|
26 |
sys.path.insert(0, '/repository')
|
27 |
|
28 |
if install_stuff:
|
29 |
+
result = subprocess.run(['pip', 'install', "-u", 'peft'], check=True)
|
30 |
result = subprocess.run(['pip', 'install', '-e', 'GroundingDINO'], check=True)
|
31 |
print(f'pip install GroundingDINO = {result}')
|
32 |
|