fix(effi-ocr): update paths for effi-server installation
- Change install path to /root/effi/effi-ocr - Change OCR_URL default to localhost:8301
This commit is contained in:
@@ -20,7 +20,7 @@ import requests
|
||||
|
||||
class Tools:
|
||||
def __init__(self):
|
||||
self.ocr_url = os.getenv("OCR_URL", "http://192.168.1.11:8301")
|
||||
self.ocr_url = os.getenv("OCR_URL", "http://localhost:8301")
|
||||
self.uploads_dir = "/app/backend/data/uploads"
|
||||
self.host_uploads_dir = "/home/effi/effi/data/uploads"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user