Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -45,6 +45,8 @@ async def process_document_base64(request: Request):
|
|
45 |
)
|
46 |
response_json = response.json()
|
47 |
entities = response_json.get('entities' , None)
|
|
|
|
|
48 |
if entities is not None:
|
49 |
for ent in entities:
|
50 |
if ent.get('type') is not None:
|
|
|
45 |
)
|
46 |
response_json = response.json()
|
47 |
entities = response_json.get('entities' , None)
|
48 |
+
print('Printing entities')
|
49 |
+
print(entities)
|
50 |
if entities is not None:
|
51 |
for ent in entities:
|
52 |
if ent.get('type') is not None:
|