File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
articles/ai-services/openai/includes Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -111,10 +111,10 @@ Your app's _package.json_ file will be updated with the dependencies.
111
111
112
112
## Create a sample application
113
113
114
+ #### [ TypeScript] ( #tab/typescript )
115
+
114
116
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:
115
117
116
- #### [ TypeScript] ( #tab/typescript )
117
-
118
118
``` typescript
119
119
import " dotenv/config" ;
120
120
import { createReadStream } from " fs" ;
@@ -167,9 +167,10 @@ Your app's _package.json_ file will be updated with the dependencies.
167
167
node Whisper.js
168
168
` ` `
169
169
170
-
171
170
#### [JavaScript ](#tab / javascript )
172
171
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
+
173
174
` ` ` javascript
174
175
require("dotenv/config");
175
176
const { createReadStream } = require("fs");
You can’t perform that action at this time.
0 commit comments