Spaces:
Runtime error
Runtime error
update space
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import deepdoctection as dd
|
|
6 |
|
7 |
def check_additional_requirements():
|
8 |
if not dd.detectron2_available():
|
9 |
-
os.system('pip install detectron2
|
10 |
if importlib.util.find_spec("gradio") is not None:
|
11 |
if importlib.metadata.version("gradio")!="3.4.1":
|
12 |
os.system("pip uninstall -y gradio")
|
|
|
6 |
|
7 |
def check_additional_requirements():
|
8 |
if not dd.detectron2_available():
|
9 |
+
os.system('pip install detectron2@git+https://github.com/facebookresearch/detectron2.git')
|
10 |
if importlib.util.find_spec("gradio") is not None:
|
11 |
if importlib.metadata.version("gradio")!="3.4.1":
|
12 |
os.system("pip uninstall -y gradio")
|