JaMe76 commited on
Commit
049580f
1 Parent(s): b126a68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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/facebookresearch/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")
 
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")