Commit
•
bfaeb07
1
Parent(s):
8afdf83
Update README.md
Browse files
README.md
CHANGED
@@ -68,7 +68,7 @@ from pip_library_etl import PipEtl
|
|
68 |
generator = PipEtl(device="cloud")
|
69 |
```
|
70 |
|
71 |
-
We have hosted the model at
|
72 |
|
73 |
```json
|
74 |
{
|
@@ -80,13 +80,13 @@ We have hosted the model at http://172.178.123.207:3100/infer. Hence, one can al
|
|
80 |
|
81 |
```bash
|
82 |
curl -X 'POST' \
|
83 |
-
'
|
84 |
-H 'accept: application/json' \
|
85 |
-H 'Content-Type: application/x-www-form-urlencoded' \
|
86 |
-d 'model_name=PipableAI%2Fpip-library-etl-1.3b&prompt="YOUR PROMPT"&max_new_tokens=400'
|
87 |
```
|
88 |
|
89 |
-
Alternatively, you can directly access UI endpoint at
|
90 |
|
91 |
### Library use
|
92 |
|
|
|
68 |
generator = PipEtl(device="cloud")
|
69 |
```
|
70 |
|
71 |
+
We have hosted the model at https://playground.pipable.ai/infer. Hence, one can also make a POST request to this endpoint with the following payload:
|
72 |
|
73 |
```json
|
74 |
{
|
|
|
80 |
|
81 |
```bash
|
82 |
curl -X 'POST' \
|
83 |
+
'https://playground.pipable.ai/infer' \
|
84 |
-H 'accept: application/json' \
|
85 |
-H 'Content-Type: application/x-www-form-urlencoded' \
|
86 |
-d 'model_name=PipableAI%2Fpip-library-etl-1.3b&prompt="YOUR PROMPT"&max_new_tokens=400'
|
87 |
```
|
88 |
|
89 |
+
Alternatively, you can directly access UI endpoint at https://playground.pipable.ai/docs#/default/infer_infer_post.
|
90 |
|
91 |
### Library use
|
92 |
|