Skip to content

Commit f5ab93c

Browse files
committed
tabs 2
1 parent efaa187 commit f5ab93c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

articles/ai-services/openai/includes/whisper-javascript.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ Your app's _package.json_ file will be updated with the dependencies.
111111

112112
## Create a sample application
113113

114+
#### [TypeScript](#tab/typescript)
115+
114116
1. Create a new file named _Whisper.js_ and open it in your preferred code editor. Copy the following code into the _Whisper.js_ file:
115117

116-
#### [TypeScript](#tab/typescript)
117-
118118
```typescript
119119
import "dotenv/config";
120120
import { createReadStream } from "fs";
@@ -167,9 +167,10 @@ Your app's _package.json_ file will be updated with the dependencies.
167167
node Whisper.js
168168
```
169169

170-
171170
#### [JavaScript](#tab/javascript)
172171

172+
1. Create a new file named _Whisper.js_ and open it in your preferred code editor. Copy the following code into the _Whisper.js_ file:
173+
173174
```javascript
174175
require("dotenv/config");
175176
const { createReadStream } = require("fs");

0 commit comments

Comments
 (0)