Update README.md
Browse files
README.md
CHANGED
@@ -56,7 +56,7 @@ print(f"{probs[0][0]:.1%} that image 0 is '{texts[0]}'")
|
|
56 |
|
57 |
Alternatively, one can leverage the pipeline API which abstracts away the complexity for the user:
|
58 |
|
59 |
-
```
|
60 |
from transformers import pipeline
|
61 |
from PIL import Image
|
62 |
import requests
|
|
|
56 |
|
57 |
Alternatively, one can leverage the pipeline API which abstracts away the complexity for the user:
|
58 |
|
59 |
+
```python
|
60 |
from transformers import pipeline
|
61 |
from PIL import Image
|
62 |
import requests
|