Chirapath commited on
Commit
0c4455c
·
verified ·
1 Parent(s): 48a5ad7

Update .env

Browse files
Files changed (1) hide show
  1. .env +56 -56
.env CHANGED
@@ -1,57 +1,57 @@
1
- # PDF OCR Service Environment Configuration
2
-
3
- # ======================
4
- # Azure Document Intelligence Configuration
5
- # ======================
6
- # Get these from Azure Portal > Document Intelligence resource
7
- AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT=https://ocr-doc-ccib-service-01.cognitiveservices.azure.com/
8
- AZURE_DOCUMENT_INTELLIGENCE_KEY=73200Rna0T57qmWbFu0qK9Z8h4eA1AFvyHAOhSoVXRAnSRXy0ZJtJQQJ99BFACqBBLyXJ3w3AAALACOGjs1l
9
-
10
- # ======================
11
- # Server Configuration
12
- # ======================
13
- # Gradio server settings
14
- SERVER_HOST=127.0.0.1
15
- SERVER_PORT=7860
16
- SHARE_GRADIO=false
17
-
18
- # ======================
19
- # File Processing Limits
20
- # ======================
21
- # Maximum file size in MB
22
- MAX_FILE_SIZE_MB=50
23
-
24
- # Maximum number of history entries to keep
25
- MAX_HISTORY_SIZE=100
26
-
27
- # ======================
28
- # Logging Configuration
29
- # ======================
30
- # Log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
31
- LOG_LEVEL=INFO
32
-
33
- # ======================
34
- # Instructions for Setup
35
- # ======================
36
- # 1. Copy this file and rename it to .env (remove .example)
37
- # 2. Fill in your Azure Document Intelligence credentials above
38
- # 3. Adjust other settings as needed for your environment
39
- # 4. Never commit the .env file to version control
40
- # 5. Add .env to your .gitignore file
41
-
42
- # ======================
43
- # How to get Azure credentials:
44
- # ======================
45
- # 1. Go to Azure Portal (portal.azure.com)
46
- # 2. Create a new "Document Intelligence" resource
47
- # 3. Choose a subscription, resource group, and region
48
- # 4. Select pricing tier (F0 for free tier, S0 for standard)
49
- # 5. After creation, go to "Keys and Endpoint" section
50
- # 6. Copy the endpoint URL and one of the keys
51
- # 7. Replace the values above with your actual credentials
52
-
53
- # ======================
54
- # Example values:
55
- # ======================
56
- # AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT=https://myservice.cognitiveservices.azure.com/
57
  # AZURE_DOCUMENT_INTELLIGENCE_KEY=1234567890abcdef1234567890abcdef
 
1
+ # PDF OCR Service Environment Configuration
2
+
3
+ # ======================
4
+ # Azure Document Intelligence Configuration
5
+ # ======================
6
+ # Get these from Azure Portal > Document Intelligence resource
7
+ AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT=xxx
8
+ AZURE_DOCUMENT_INTELLIGENCE_KEY=xxx
9
+
10
+ # ======================
11
+ # Server Configuration
12
+ # ======================
13
+ # Gradio server settings
14
+ SERVER_HOST=127.0.0.1
15
+ SERVER_PORT=7860
16
+ SHARE_GRADIO=false
17
+
18
+ # ======================
19
+ # File Processing Limits
20
+ # ======================
21
+ # Maximum file size in MB
22
+ MAX_FILE_SIZE_MB=50
23
+
24
+ # Maximum number of history entries to keep
25
+ MAX_HISTORY_SIZE=100
26
+
27
+ # ======================
28
+ # Logging Configuration
29
+ # ======================
30
+ # Log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
31
+ LOG_LEVEL=INFO
32
+
33
+ # ======================
34
+ # Instructions for Setup
35
+ # ======================
36
+ # 1. Copy this file and rename it to .env (remove .example)
37
+ # 2. Fill in your Azure Document Intelligence credentials above
38
+ # 3. Adjust other settings as needed for your environment
39
+ # 4. Never commit the .env file to version control
40
+ # 5. Add .env to your .gitignore file
41
+
42
+ # ======================
43
+ # How to get Azure credentials:
44
+ # ======================
45
+ # 1. Go to Azure Portal (portal.azure.com)
46
+ # 2. Create a new "Document Intelligence" resource
47
+ # 3. Choose a subscription, resource group, and region
48
+ # 4. Select pricing tier (F0 for free tier, S0 for standard)
49
+ # 5. After creation, go to "Keys and Endpoint" section
50
+ # 6. Copy the endpoint URL and one of the keys
51
+ # 7. Replace the values above with your actual credentials
52
+
53
+ # ======================
54
+ # Example values:
55
+ # ======================
56
+ # AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT=https://myservice.cognitiveservices.azure.com/
57
  # AZURE_DOCUMENT_INTELLIGENCE_KEY=1234567890abcdef1234567890abcdef