Renaxit commited on
Commit
e4b2da2
1 Parent(s): 3b0d3ae

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -19,14 +19,14 @@ To utilize this model for detecting handwritten text in your images, follow the
19
  ### Environment Setup
20
 
21
  Ensure you have Python 3.6 or later installed. Then install the required packages:
22
-
23
  pip install transformers torch torchvision
24
-
25
 
26
  ### Inference
27
 
28
  You can perform inference with the following code snippet:
29
-
30
  from transformers import Yolov5Model, Yolov5FeatureExtractor
31
 
32
  # Load model and feature extractor
@@ -48,7 +48,7 @@ detections = outputs[0]
48
  # Loop through detections and print results
49
  for detection in detections:
50
  print(f"Coordinates: {detection[:4]}, Confidence: {detection[4]}")
51
-
52
 
53
  ## Limitations
54
 
 
19
  ### Environment Setup
20
 
21
  Ensure you have Python 3.6 or later installed. Then install the required packages:
22
+ ```
23
  pip install transformers torch torchvision
24
+ ```
25
 
26
  ### Inference
27
 
28
  You can perform inference with the following code snippet:
29
+ ```
30
  from transformers import Yolov5Model, Yolov5FeatureExtractor
31
 
32
  # Load model and feature extractor
 
48
  # Loop through detections and print results
49
  for detection in detections:
50
  print(f"Coordinates: {detection[:4]}, Confidence: {detection[4]}")
51
+ ```
52
 
53
  ## Limitations
54