Skip to content
Snippets Groups Projects

Feature/add auth asr service

1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
import os
import traceback
import uuid
from abc import ABC, abstractmethod
from pathlib import Path
@@ -36,7 +37,9 @@ class AsrProcessor(ABC):
result_object = jsonify(
{"transcription": transcription.words, "full_text": transcription.full_text}
)
except:
except Exception as exception:
print(exception)
traceback.print_exc()
result_object = jsonify({"error": "Error on asr processing"})
else:
result_object = jsonify({"error": "Error on asr processing"})
Loading