Rehman1603 commited on
Commit
36582bd
·
verified ·
1 Parent(s): f304a40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def audio_transcribe(audio_path):
47
  transcriber = aai.Transcriber()
48
  transcript = transcriber.transcribe(audio_path)
49
 
50
- return transcript
51
  except Exception as e:
52
  return f"Error: {str(e)}"
53
 
 
47
  transcriber = aai.Transcriber()
48
  transcript = transcriber.transcribe(audio_path)
49
 
50
+ return transcript.text
51
  except Exception as e:
52
  return f"Error: {str(e)}"
53