DavidFernandes commited on
Commit
2b0bb14
·
verified ·
1 Parent(s): 7ce7178

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def transcribe(audio):
32
  model="whisper-large-v3",
33
  response_format="text"
34
  )
35
- return transcription.text
36
 
37
  def generate_response(prompt):
38
  chat_completion = client.chat.completions.create(
 
32
  model="whisper-large-v3",
33
  response_format="text"
34
  )
35
+ return transcription
36
 
37
  def generate_response(prompt):
38
  chat_completion = client.chat.completions.create(