Fedir Zadniprovskyi commited on
Commit
1c2435a
·
unverified ·
1 Parent(s): a5c143c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -38,9 +38,9 @@ export OPENAI_API_KEY="cant-be-empty"
38
  export OPENAI_BASE_URL=http://localhost:8000/v1/
39
  ```
40
  ```bash
41
- openai api audio.transcriptions.create -m distil-medium.en -f audio.wav --response-format text
42
 
43
- openai api audio.translations.create -m distil-medium.en -f audio.wav --response-format verbose_json
44
  ```
45
  ### OpenAI API Python SDK
46
  ```python
@@ -50,7 +50,7 @@ client = OpenAI(api_key="cant-be-empty", base_url="http://localhost:8000/v1/")
50
 
51
  audio_file = open("audio.wav", "rb")
52
  transcript = client.audio.transcriptions.create(
53
- model="distil-medium.en", file=audio_file
54
  )
55
  print(transcript.text)
56
  ```
 
38
  export OPENAI_BASE_URL=http://localhost:8000/v1/
39
  ```
40
  ```bash
41
+ openai api audio.transcriptions.create -m distil-large-v3 -f audio.wav --response-format text
42
 
43
+ openai api audio.translations.create -m distil-large-v3 -f audio.wav --response-format verbose_json
44
  ```
45
  ### OpenAI API Python SDK
46
  ```python
 
50
 
51
  audio_file = open("audio.wav", "rb")
52
  transcript = client.audio.transcriptions.create(
53
+ model="distil-large-v3", file=audio_file
54
  )
55
  print(transcript.text)
56
  ```