Spaces:
Sleeping
Sleeping
pacman2223
commited on
Update app.py
Browse files
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
|