Skip to content

Commit

Permalink
chore: add demo server
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxiao authored Apr 1, 2022
1 parent 9913392 commit 2e9e212
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,17 @@ c.profile()

You can change `0.0.0.0` to the intranet or public IP address to test the connectivity over private and public network.

### Demo server

We provide a demo server for you to play with:

```python
from clip_client import Client

c = Client('grpc://demo-cas.jina.ai:51000')

print(c.encode(['First do it', 'then do it right', 'then do it better']))
```

## Get Started

Expand Down

0 comments on commit 2e9e212

Please sign in to comment.