Skip to content

Commit ecece23

Browse files
committed
Update code
1 parent afa4f7d commit ecece23

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

image_processing/GETTING_STARTED.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ To get started, perform the following steps:
77
- Cognitive Services Data Contributor (Preview) on the Document Intelligence Instance
88
- Cognitive Services OpenAI User on the Azure OpenAI Instance
99
- Storage Blob Data Contributor on the Storage Account Instance
10+
- Make sure the Storage Account has a container `{NAME}-figures` for storing extracted figures.
1011
2. Clone this repository and deploy the AI Search rag documents indexes from `deploy_ai_search_indexes`.
1112
3. Run `uv sync` within the image_processing directory to install dependencies (or used the synced `requirements.txt`)
1213
4. Use the `.env.example` to add the required environmental variables to your function app. Not all values are required dependent on whether you are using System / User Assigned Identities or a Key based authentication. Use this template to update the environment variables in the function app.

image_processing/src/image_processing/layout_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def extract_file_info(self):
168168

169169
self.container = source_parts[3]
170170

171-
self.images_container = f"{self.container}-images"
171+
self.images_container = f"{self.container}-figures"
172172

173173
self.file_extension = self.blob.split(".")[-1]
174174

0 commit comments

Comments
 (0)