Update README.md
Browse files
README.md
CHANGED
@@ -36,7 +36,7 @@ pip install askui-ml-helper
|
|
36 |
Download the checkpoint ".pt" model from files in this model card.
|
37 |
Or download it from your terminal
|
38 |
```bash
|
39 |
-
curl -L "https://huggingface.co/AskUI/pta-text-0.1/resolve/main/pta-text-v0.1.pt?download=true" -o pta-text-v0.1.pt
|
40 |
```
|
41 |
|
42 |
## Running the model
|
@@ -68,7 +68,7 @@ import requests
|
|
68 |
from PIL import Image
|
69 |
from askui_ml_helper.utils.pta_text import PtaTextInference
|
70 |
|
71 |
-
pta_text_inference = PtaTextInference("pta-text-v0.1.pt")
|
72 |
url = "https://docs.askui.com/assets/images/how_askui_works_architecture-363bc8be35bd228e884c83d15acd19f7.png"
|
73 |
image = Image.open(requests.get(url, stream=True).raw).convert("RGB")
|
74 |
prompt = 'click on the text "Operating System"'
|
|
|
36 |
Download the checkpoint ".pt" model from files in this model card.
|
37 |
Or download it from your terminal
|
38 |
```bash
|
39 |
+
curl -L "https://huggingface.co/AskUI/pta-text-0.1/resolve/main/pta-text-v0.1.1.pt?download=true" -o pta-text-v0.1.pt
|
40 |
```
|
41 |
|
42 |
## Running the model
|
|
|
68 |
from PIL import Image
|
69 |
from askui_ml_helper.utils.pta_text import PtaTextInference
|
70 |
|
71 |
+
pta_text_inference = PtaTextInference("pta-text-v0.1.1.pt")
|
72 |
url = "https://docs.askui.com/assets/images/how_askui_works_architecture-363bc8be35bd228e884c83d15acd19f7.png"
|
73 |
image = Image.open(requests.get(url, stream=True).raw).convert("RGB")
|
74 |
prompt = 'click on the text "Operating System"'
|