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