From 2b1949ff17c17b07da8520ba12ec8d32ee2455ce Mon Sep 17 00:00:00 2001 From: Jonathon Belotti Date: Tue, 9 Apr 2024 23:20:59 +0000 Subject: [PATCH] fix Dict usage --- 06_gpu_and_ml/openai_whisper/pod_transcriber/app/main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/06_gpu_and_ml/openai_whisper/pod_transcriber/app/main.py b/06_gpu_and_ml/openai_whisper/pod_transcriber/app/main.py index f09d78120..93af2770e 100644 --- a/06_gpu_and_ml/openai_whisper/pod_transcriber/app/main.py +++ b/06_gpu_and_ml/openai_whisper/pod_transcriber/app/main.py @@ -55,7 +55,10 @@ secrets=[Secret.from_name("podchaser")], ) -in_progress = Dict.from_name("pod-transcriber-in-progress") +in_progress = Dict.from_name( + "pod-transcriber-in-progress", + create_if_missing=True +) def utc_now() -> datetime.datetime: