add Dockerfile

This commit is contained in:
2022-09-26 23:05:43 +02:00
parent 50a2db610d
commit 82f5b29155
3 changed files with 22 additions and 0 deletions
+1
View File
@@ -21,6 +21,7 @@ def post():
vid.write(request.data)
speech_to_text = SpeechToText()
result = speech_to_text.to_text(file_name)
print(result)
try:
os.remove(file_name)
except OSError: