JaMe76 commited on
Commit
a10c81f
1 Parent(s): 5c3b074

update space

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu102/torch1.9/index.html')
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")