Spaces:
Runtime error
Runtime error
Tobias Cornille
commited on
Commit
·
2de83bd
1
Parent(s):
73f96dd
Force use latest gradio
Browse files
app.py
CHANGED
|
@@ -3,6 +3,9 @@ import subprocess, os, sys
|
|
| 3 |
result = subprocess.run(["pip", "install", "-e", "GroundingDINO"], check=True)
|
| 4 |
print(f"pip install GroundingDINO = {result}")
|
| 5 |
|
|
|
|
|
|
|
|
|
|
| 6 |
sys.path.insert(0, "./GroundingDINO")
|
| 7 |
|
| 8 |
if not os.path.exists("./sam_vit_h_4b8939.pth"):
|
|
|
|
| 3 |
result = subprocess.run(["pip", "install", "-e", "GroundingDINO"], check=True)
|
| 4 |
print(f"pip install GroundingDINO = {result}")
|
| 5 |
|
| 6 |
+
result = subprocess.run(["pip", "install", "gradio==3.27.0"], check=True)
|
| 7 |
+
print(f"pip install gradio==3.27.0 = {result}")
|
| 8 |
+
|
| 9 |
sys.path.insert(0, "./GroundingDINO")
|
| 10 |
|
| 11 |
if not os.path.exists("./sam_vit_h_4b8939.pth"):
|