chipling commited on
Commit
003f73a
·
verified ·
1 Parent(s): 6246f28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -8,7 +8,6 @@ from fastapi import FastAPI, UploadFile, File, HTTPException
8
  # Limit threads for HF Free Tier (2 vCPUs)
9
  os.environ["OMP_NUM_THREADS"] = "2"
10
  # MKLDNN works perfectly with PPStructureV3 for a massive Intel speedup
11
- os.environ["FLAGS_use_mkldnn"] = "0"
12
 
13
  # IMPORT THE NEW V3 PIPELINE
14
  from paddleocr import PPStructureV3
 
8
  # Limit threads for HF Free Tier (2 vCPUs)
9
  os.environ["OMP_NUM_THREADS"] = "2"
10
  # MKLDNN works perfectly with PPStructureV3 for a massive Intel speedup
 
11
 
12
  # IMPORT THE NEW V3 PIPELINE
13
  from paddleocr import PPStructureV3