Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ def transcribe_audio(audio_file):
|
|
| 30 |
# Decode the output
|
| 31 |
transcription = processor.batch_decode(generated_ids, skip_special_tokens=True)[0]
|
| 32 |
|
| 33 |
-
return
|
| 34 |
except Exception as e:
|
| 35 |
return f"Error during transcription: {str(e)}"
|
| 36 |
|
|
|
|
| 30 |
# Decode the output
|
| 31 |
transcription = processor.batch_decode(generated_ids, skip_special_tokens=True)[0]
|
| 32 |
|
| 33 |
+
return transcription
|
| 34 |
except Exception as e:
|
| 35 |
return f"Error during transcription: {str(e)}"
|
| 36 |
|