Skip to content

Commit

Permalink
Small README improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybchris committed Jan 3, 2024
1 parent 88ef985 commit f09fa23
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ const job = await client.submitJob({

console.log("Running...");
await job.awaitCompletion();

const predictions = client.getJobPredictions(job.jobId);
console.log(predictions)
```

## Streaming Client
Expand All @@ -63,7 +66,7 @@ const client = new HumeStreamingClient({
});

const stream = client.connect({
configs: {
config: {
language: {},
},
onMessage: (response) => { console.log("Socket opened") },
Expand Down

0 comments on commit f09fa23

Please sign in to comment.