danhtran2mind commited on
Commit
595ae90
·
verified ·
1 Parent(s): e70d36d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 f"Transcription:\n{transcription}"
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