Update README.md
Browse files
README.md
CHANGED
|
@@ -23,7 +23,7 @@ pip install bsrgan
|
|
| 23 |
```python
|
| 24 |
from bsrgan import BSRGAN
|
| 25 |
|
| 26 |
-
model = BSRGAN(weights='kadirnar/bsrgan', device='cuda:0')
|
| 27 |
model.save = True
|
| 28 |
|
| 29 |
pred = model.predict(img_path='data/image/test.png')
|
|
|
|
| 23 |
```python
|
| 24 |
from bsrgan import BSRGAN
|
| 25 |
|
| 26 |
+
model = BSRGAN(weights='kadirnar/bsrgan', device='cuda:0', hf_model=True)
|
| 27 |
model.save = True
|
| 28 |
|
| 29 |
pred = model.predict(img_path='data/image/test.png')
|