@@ -8,7 +8,7 @@ manager: nitinme
88ms.service : applied-ai-services
99ms.subservice : forms-recognizer
1010ms.topic : tutorial
11- ms.date : 08/23 /2022
11+ ms.date : 10/31 /2022
1212ms.author : lajanuar
1313ms.custom : VS Code-azure-extension-update-completed
1414---
@@ -149,6 +149,7 @@ Next, you'll add your own code to the Python script to call the Form Recognizer
149149 import time
150150 from requests import get, post
151151 import os
152+ import requests
152153 from collections import OrderedDict
153154 import numpy as np
154155 import pandas as pd
@@ -192,7 +193,7 @@ Next, you'll add your own code to the Python script to call the Form Recognizer
192193
193194 if resp.status_code != 202:
194195 print("POST analyze failed:\n%s" % resp.text)
195- quit()
196+ quit()
196197 print("POST analyze succeeded:\n%s" % resp.headers)
197198 get_url = resp.headers["operation-location"]
198199
@@ -212,7 +213,7 @@ Next, you'll add your own code to the Python script to call the Form Recognizer
212213 results = resp_json
213214 else:
214215 print("GET Layout results failed:\n%s")
215- quit()
216+ quit()
216217
217218 results = resp_json
218219
@@ -297,4 +298,4 @@ In this tutorial, you learned how to use an Azure Function written in Python to
297298> [Microsoft Power BI](https://powerbi.microsoft.com/integrations/azure-table-storage/)
298299
299300* [What is Form Recognizer?](overview.md)
300- * Learn more about the [layout model](concept-layout.md)
301+ * Learn more about the [layout model](concept-layout.md)
0 commit comments