Xenova HF staff commited on
Commit
e8869a5
1 Parent(s): 8c60749

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -21,7 +21,7 @@ npm i @huggingface/transformers
21
  import { MgpstrForSceneTextRecognition, MgpstrProcessor, RawImage } from '@huggingface/transformers';
22
 
23
  const model_id = 'onnx-community/mgp-str-base';
24
- const model = await MgpstrForSceneTextRecognition.from_pretrained(model_id,);
25
  const processor = await MgpstrProcessor.from_pretrained(model_id);
26
 
27
  // Load image from the IIIT-5k dataset
 
21
  import { MgpstrForSceneTextRecognition, MgpstrProcessor, RawImage } from '@huggingface/transformers';
22
 
23
  const model_id = 'onnx-community/mgp-str-base';
24
+ const model = await MgpstrForSceneTextRecognition.from_pretrained(model_id);
25
  const processor = await MgpstrProcessor.from_pretrained(model_id);
26
 
27
  // Load image from the IIIT-5k dataset