Spaces:
Sleeping
Sleeping
Sakshi
commited on
Commit
·
801518f
1
Parent(s):
b099df3
fixed azure client auth
Browse files- policy_analyser/ocr.py +1 -0
policy_analyser/ocr.py
CHANGED
@@ -28,6 +28,7 @@ class AzureDocumentIntelligenceOCR:
|
|
28 |
def __init__(self):
|
29 |
self.engine = 'azure/layout'
|
30 |
self.client = None
|
|
|
31 |
|
32 |
def _authenticate(self):
|
33 |
if self.client is None:
|
|
|
28 |
def __init__(self):
|
29 |
self.engine = 'azure/layout'
|
30 |
self.client = None
|
31 |
+
self._authenticate()
|
32 |
|
33 |
def _authenticate(self):
|
34 |
if self.client is None:
|