gaunernst commited on
Commit
9797cf5
1 Parent(s): 8ea251e
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import os
2
  os.system('pip install pyyaml==5.1')
3
- os.system('pip install torch==1.10.1+cpu torchvision==0.11.2+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html')
4
- os.system('pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cpu/torch1.10/index.html')
5
  os.system('pip install pytesseract')
6
 
7
  import gradio as gr
 
1
  import os
2
  os.system('pip install pyyaml==5.1')
3
+ os.system('pip install torch==1.10.1+cpu torchvision==0.11.2+cpu -f https://download.pytorch.org/whl/cpu')
4
+ os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
5
  os.system('pip install pytesseract')
6
 
7
  import gradio as gr