Spaces:
Paused
Paused
Update app.py
Browse files
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 |
|