not-lain commited on
Commit
4ea924a
1 Parent(s): 63e0a06

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -4
README.md CHANGED
@@ -23,8 +23,7 @@ The overarching objective of this meticulous training process was to impart the
23
  ### How to use
24
  Here is how to use this model to classifiy an image based on 1 of 2 classes (normal,nsfw):
25
 
26
- ```markdown
27
-
28
  # Use a pipeline as a high-level helper
29
  from PIL import Image
30
  from transformers import pipeline
@@ -37,8 +36,7 @@ classifier(img)
37
 
38
  <hr>
39
 
40
- ``` markdown
41
-
42
  # Load model directly
43
  import torch
44
  from PIL import Image
 
23
  ### How to use
24
  Here is how to use this model to classifiy an image based on 1 of 2 classes (normal,nsfw):
25
 
26
+ ```python
 
27
  # Use a pipeline as a high-level helper
28
  from PIL import Image
29
  from transformers import pipeline
 
36
 
37
  <hr>
38
 
39
+ ```python
 
40
  # Load model directly
41
  import torch
42
  from PIL import Image