Vihang28 commited on
Commit
0b6f717
1 Parent(s): bd66273

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def record_text(audio_file,api_key):
18
  # )
19
  # return response.data['text']
20
 
21
- const response = await openai.audio.transcriptions.create({
22
  model: 'whisper-1',
23
  api_key: api_key,
24
  file: fs.createReadStream(audio_file),
 
18
  # )
19
  # return response.data['text']
20
 
21
+ response = openai.audio.transcriptions.create({
22
  model: 'whisper-1',
23
  api_key: api_key,
24
  file: fs.createReadStream(audio_file),