Spaces:
Running
Running
fix deps
Browse files
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
|
4 |
-
os.system('pip install
|
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
|