Jakh0103 commited on
Commit
56b01bb
·
verified ·
1 Parent(s): 0e14495

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -14,14 +14,14 @@ Repository: [GitHub](https://github.com/epfl-nlp/language-identification)
14
  ## Usage
15
 
16
  **Download the model**
17
- ```
18
  from huggingface_hub import snapshot_download
19
 
20
  snapshot_download(repo_id="Jakh0103/lid", local_dir="checkpoint")
21
  ```
22
 
23
  **Use the model**
24
- ```
25
  from model import LID
26
  model = LID.from_pretrained(dir='checkpoint')
27
 
 
14
  ## Usage
15
 
16
  **Download the model**
17
+ ```python
18
  from huggingface_hub import snapshot_download
19
 
20
  snapshot_download(repo_id="Jakh0103/lid", local_dir="checkpoint")
21
  ```
22
 
23
  **Use the model**
24
+ ```python
25
  from model import LID
26
  model = LID.from_pretrained(dir='checkpoint')
27