barbaroo commited on
Commit
d25df8a
·
1 Parent(s): b298c00

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def transcribe(audio, state="", uploaded_audio=None):
13
  try:
14
  time.sleep(3)
15
  text = p(audio)["text"]
16
- state += text + " - "
17
  return state, state
18
  except Exception as e:
19
  return "An error occurred during transcription.", state # Handle other exceptions
 
13
  try:
14
  time.sleep(3)
15
  text = p(audio)["text"]
16
+ state += text + "\n"
17
  return state, state
18
  except Exception as e:
19
  return "An error occurred during transcription.", state # Handle other exceptions