Skip to content

Commit

Permalink
Update README to Remove Deprecated Names
Browse files Browse the repository at this point in the history
  • Loading branch information
davidvonthenen committed Aug 7, 2024
1 parent 78ec6d9 commit 7fa3e84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ options: PrerecordedOptions = PrerecordedOptions(
model="nova-2",
smart_format=True,
)
response = deepgram.listen.prerecorded.v("1").transcribe_url(AUDIO_URL, options)
response = deepgram.listen.rest.v("1").transcribe_url(AUDIO_URL, options)
print(f"response: {response}\n\n")
```

Expand All @@ -99,7 +99,7 @@ You can find a [walkthrough](https://developers.deepgram.com/docs/live-streaming
```python
deepgram: DeepgramClient = DeepgramClient()

dg_connection = deepgram.listen.live.v("1")
dg_connection = deepgram.listen.websocket.v("1")

def on_open(self, open, **kwargs):
print(f"\n\n{open}\n\n")
Expand Down

0 comments on commit 7fa3e84

Please sign in to comment.