ajihakim201 commited on
Commit
f165f07
·
verified ·
1 Parent(s): 2cbee5a

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +1 -0
server.js CHANGED
@@ -3,6 +3,7 @@ const Tesseract = require("tesseract.js");
3
  const fs = require("fs");
4
  const path = require("path");
5
  const { fromPath } = require("pdf2pic");
 
6
 
7
  const app = express();
8
  app.use(express.json({ limit: '50mb' }));
 
3
  const fs = require("fs");
4
  const path = require("path");
5
  const { fromPath } = require("pdf2pic");
6
+ const gm = require('gm').subClass({ imageMagick: true });
7
 
8
  const app = express();
9
  app.use(express.json({ limit: '50mb' }));