Nick088 commited on
Commit
84672c4
1 Parent(s): 06a7e09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -320,7 +320,7 @@ def transcribe_audio(audio_file_path, model, prompt, language, auto_detect_langu
320
  language=None if auto_detect_language else language,
321
  temperature=0.0,
322
  )
323
- return transcription.text, None
324
  except groq.RateLimitError as e: # Handle rate limit error
325
  handle_groq_error(e, model)
326
 
 
320
  language=None if auto_detect_language else language,
321
  temperature=0.0,
322
  )
323
+ return transcription, None
324
  except groq.RateLimitError as e: # Handle rate limit error
325
  handle_groq_error(e, model)
326