Spaces:
Runtime error
Runtime error
2023-11-27-08-53-13
Browse files
app.py
CHANGED
@@ -8,7 +8,8 @@ import os
|
|
8 |
# os.system("pip install layoutparser==0.3.4 layoutparser[layoutmodels] layoutparser[ocr]")
|
9 |
# os.system("pip install requests==2.31.0")
|
10 |
# os.system("pip install torch torchvision")
|
11 |
-
os.system("
|
|
|
12 |
os.system("pip install layoutparser layoutparser[layoutmodels] layoutparser[ocr]")
|
13 |
os.system("pip install Pillow==9.4.0")
|
14 |
|
|
|
8 |
# os.system("pip install layoutparser==0.3.4 layoutparser[layoutmodels] layoutparser[ocr]")
|
9 |
# os.system("pip install requests==2.31.0")
|
10 |
# os.system("pip install torch torchvision")
|
11 |
+
os.system("git clone https://github.com/facebookresearch/detectron2.git")
|
12 |
+
os.system("python -m pip install -e detectron2")
|
13 |
os.system("pip install layoutparser layoutparser[layoutmodels] layoutparser[ocr]")
|
14 |
os.system("pip install Pillow==9.4.0")
|
15 |
|