fendiprime commited on
Commit
6b57667
1 Parent(s): 2116315

Fix collections import

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +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
- 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")
 
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 's/from collections import Iterable/from collections.abc import Iterable/' unilm/dit/object_detection/ditod/table_evaluation/data_structure.py")
6
 
7
  import sys
8
  sys.path.append("unilm")