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