pacman2223 commited on
Commit
e32d05b
·
verified ·
1 Parent(s): 55e5d9b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,8 +1,8 @@
1
  import os
2
- os.system('sudo apt install tesseract-ocr')
3
  os.system('pip install torch torchvision')
4
- os.system('pip install pytesseract')
5
  os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
 
 
6
 
7
  import gradio as gr
8
  import torch
 
1
  import os
 
2
  os.system('pip install torch torchvision')
 
3
  os.system('pip install git+https://github.com/facebookresearch/detectron2.git')
4
+ os.system('sudo apt install tesseract-ocr')
5
+ os.system('pip install -q pytesseract')
6
 
7
  import gradio as gr
8
  import torch