Update README.md
Browse files
README.md
CHANGED
|
@@ -32,6 +32,9 @@ base_model:
|
|
| 32 |
|
| 33 |
If you just want to use this code, please refer to this sample below
|
| 34 |
```python
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
model_path = "DeepGlint-AI/MLCD-Seg" # or use your local path
|
| 37 |
mlcd_seg = AutoModel.from_pretrained(
|
|
|
|
| 32 |
|
| 33 |
If you just want to use this code, please refer to this sample below
|
| 34 |
```python
|
| 35 |
+
from transformers import AutoModel, AutoTokenizer
|
| 36 |
+
from PIL import Image
|
| 37 |
+
|
| 38 |
|
| 39 |
model_path = "DeepGlint-AI/MLCD-Seg" # or use your local path
|
| 40 |
mlcd_seg = AutoModel.from_pretrained(
|