JackWrion commited on
Commit
ce041e2
·
1 Parent(s): 8680c69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2,15 +2,15 @@ import os
2
 
3
  os.system('chmod 777 /tmp')
4
  os.system('apt-get update -y')
5
- os.system('sudo apt install tesseract-ocr')
6
- os.system('sudo apt install libtesseract-dev')
7
 
8
  import gradio as gr
9
  import cv2
10
  import pytesseract
11
  from fastapi import FastAPI
12
 
13
- pytesseract.pytesseract.tesseract_cmd = r'./Tesseract-OCR/tesseract.exe'
14
 
15
 
16
 
 
2
 
3
  os.system('chmod 777 /tmp')
4
  os.system('apt-get update -y')
5
+ os.system('apt-get install tesseract-ocr -y')
6
+ os.system('apt-get install libtesseract-dev -y')
7
 
8
  import gradio as gr
9
  import cv2
10
  import pytesseract
11
  from fastapi import FastAPI
12
 
13
+ #pytesseract.pytesseract.tesseract_cmd = r'./Tesseract-OCR/tesseract.exe'
14
 
15
 
16