Update README.md
Browse files
README.md
CHANGED
|
@@ -29,6 +29,18 @@ tags:
|
|
| 29 |
```bash
|
| 30 |
pip install stablepy
|
| 31 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
#### Inference using `stablepy`
|
| 33 |
```python
|
| 34 |
from PIL import Image
|
|
|
|
| 29 |
```bash
|
| 30 |
pip install stablepy
|
| 31 |
```
|
| 32 |
+
#### Download Model Checkpoint
|
| 33 |
+
```python
|
| 34 |
+
from huggingface_hub import hf_hub_download
|
| 35 |
+
|
| 36 |
+
# Define the repository and file details
|
| 37 |
+
repo_id = "danhtran2mind/Real-ESRGAN-Anime-finetuning"
|
| 38 |
+
filename = "Real-ESRGAN-Anime-finetuning.pth"
|
| 39 |
+
|
| 40 |
+
# Download the file
|
| 41 |
+
file_path = hf_hub_download(repo_id=repo_id, filename=filename)
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
#### Inference using `stablepy`
|
| 45 |
```python
|
| 46 |
from PIL import Image
|