VsinghiAssociates commited on
Commit
ffa005f
·
verified ·
1 Parent(s): d049bea

Remove Razorpay integration from README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -20
README.md CHANGED
@@ -15,7 +15,6 @@ Document Converter Pro is a Flask web app for:
15
  - Excel to CSV conversion with `pandas` and `openpyxl`
16
  - Fast default OCR mode that skips pages that already contain text
17
  - Streaming `.xlsx` conversion to reduce memory use on large workbooks
18
- - Razorpay payment before PDF OCR processing at INR 0.50 per PDF page
19
 
20
  ## Important: GitHub Pages will not run this app
21
 
@@ -35,25 +34,6 @@ Use GitHub as the source repository, then deploy the app to a Python/container h
35
 
36
  The included `Dockerfile` installs the required OCR system packages and starts `app.py` on port `7860`.
37
 
38
- ## Razorpay setup
39
-
40
- PDF OCR processing is payment gated. The app counts PDF pages, creates a Razorpay order, waits for a successful Checkout payment, verifies the payment signature on the server, and only then starts OCR.
41
-
42
- Set these environment variables in your deployment host or Hugging Face Space secrets:
43
-
44
- ```bash
45
- RAZORPAY_KEY_ID=rzp_test_or_live_key_id
46
- RAZORPAY_KEY_SECRET=your_key_secret
47
- ```
48
-
49
- The OCR price is configured in `app.py` as `OCR_PRICE_PER_PAGE_PAISE = 50`, which is INR 0.50 per page.
50
-
51
- The owner bypass key defaults to `215836`. To change it without editing code, set this optional secret:
52
-
53
- ```bash
54
- OCR_BYPASS_KEY=your_private_access_key
55
- ```
56
-
57
  ## Run locally
58
 
59
  Install system dependencies first:
 
15
  - Excel to CSV conversion with `pandas` and `openpyxl`
16
  - Fast default OCR mode that skips pages that already contain text
17
  - Streaming `.xlsx` conversion to reduce memory use on large workbooks
 
18
 
19
  ## Important: GitHub Pages will not run this app
20
 
 
34
 
35
  The included `Dockerfile` installs the required OCR system packages and starts `app.py` on port `7860`.
36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  ## Run locally
38
 
39
  Install system dependencies first: