KingNish commited on
Commit
f22a1c2
·
verified ·
1 Parent(s): dcd55a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def transcribe(inputs, previous_transcription):
43
 
44
  end_time = time.time()
45
  latency = end_time - start_time
46
- return previous_transcription, str(latency)
47
  except Exception as e:
48
  print(f"Error during Transcription: {e}")
49
  return previous_transcription, "Error"
 
43
 
44
  end_time = time.time()
45
  latency = end_time - start_time
46
+ return previous_transcription, f"{latency:.2f}"
47
  except Exception as e:
48
  print(f"Error during Transcription: {e}")
49
  return previous_transcription, "Error"