Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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,
|
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"
|