Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ def transcribe_audio(audio_data):
|
|
| 48 |
# Extract the transcribed text from the response
|
| 49 |
transcription = response["choices"][0]["text"].strip()
|
| 50 |
|
| 51 |
-
return transcription
|
| 52 |
|
| 53 |
# Set the function for the Gradio interface
|
| 54 |
iface.fn = transcribe_audio
|
|
|
|
| 48 |
# Extract the transcribed text from the response
|
| 49 |
transcription = response["choices"][0]["text"].strip()
|
| 50 |
|
| 51 |
+
return transcription # This is the transcription result
|
| 52 |
|
| 53 |
# Set the function for the Gradio interface
|
| 54 |
iface.fn = transcribe_audio
|