Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Updating example in README to reflect the need to DLHubClient.login() and use the new run args
  • Loading branch information
blaiszik committed Jan 24, 2019
1 parent 235d04b commit 45ee1de
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ To create the client, call
```python
from dlhub_sdk.client import DLHubClient

client = DLHubClient()
client = DLHubClient.login()
```

The client makes it simple to find interesting machine learning models.
Expand Down Expand Up @@ -76,8 +76,7 @@ That command will return a Pandas DataFrame of models, which looks something lik
Once you get the name of a model, it can be run thorugh the client as well:

```python
model = client.get_id_by_name('noop')
client.run(model, 'my data')
client.run(author='ryan_globusid' name='noop', inputs='my data')
```

### Publishing a Model
Expand Down

0 comments on commit 45ee1de

Please sign in to comment.