not-lain commited on
Commit
3ac9479
·
verified ·
1 Parent(s): ee20479

fix readme

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -7,12 +7,12 @@ tags:
7
  you can the model via the command
8
  ```python
9
  from transformers import AutoModelForImageClassification
10
- model = AutoModelForImageClassification.from_pretrained("not-lain/MyRepo", trust_remote_code=True)
11
  ```
12
  or you can use the pipeline
13
  ```python
14
  from transformers import pipeline
15
- pipe = pipeline(model="not-lain/MyRepo", trust_remote_code=True)
16
  pipe(
17
  "url",
18
  download=True, # will call the download_img method
 
7
  you can the model via the command
8
  ```python
9
  from transformers import AutoModelForImageClassification
10
+ model = AutoModelForImageClassification.from_pretrained("not-lain/MyRepo1.0", trust_remote_code=True)
11
  ```
12
  or you can use the pipeline
13
  ```python
14
  from transformers import pipeline
15
+ pipe = pipeline(model="not-lain/MyRepo1.0", trust_remote_code=True)
16
  pipe(
17
  "url",
18
  download=True, # will call the download_img method