fendiprime commited on
Commit
2116315
·
1 Parent(s): 8108b6a

Fix collections import

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -2,6 +2,7 @@ import os
2
  os.system('git clone https://github.com/facebookresearch/detectron2.git')
3
  os.system('pip install -e detectron2')
4
  os.system("git clone https://github.com/microsoft/unilm.git")
 
5
 
6
  import sys
7
  sys.path.append("unilm")
 
2
  os.system('git clone https://github.com/facebookresearch/detectron2.git')
3
  os.system('pip install -e detectron2')
4
  os.system("git clone https://github.com/microsoft/unilm.git")
5
+ os.system("sed -i '/from collections import Iterable/c\from collections.abc import Iterable' unilm/dit/object_detection/ditod/table_evaluation/data_structure.py")
6
 
7
  import sys
8
  sys.path.append("unilm")