ecyht2 commited on
Commit
9fd1ae3
1 Parent(s): 729911d

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +0 -3
index.js CHANGED
@@ -1,8 +1,5 @@
1
  import { MgpstrForSceneTextRecognition, MgpstrProcessor, RawImage } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.1.0';
2
 
3
- // Since we will download the model from the Hugging Face Hub, we can skip the local model check
4
- env.allowLocalModels = false;
5
-
6
  // Reference the elements that we will need
7
  const status = document.getElementById('status');
8
  const fileUpload = document.getElementById('upload');
 
1
  import { MgpstrForSceneTextRecognition, MgpstrProcessor, RawImage } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers@3.1.0';
2
 
 
 
 
3
  // Reference the elements that we will need
4
  const status = document.getElementById('status');
5
  const fileUpload = document.getElementById('upload');