Skip to content

Commit

Permalink
fix Dict usage
Browse files Browse the repository at this point in the history
  • Loading branch information
thundergolfer committed Apr 9, 2024
1 parent e26de8a commit 2b1949f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion 06_gpu_and_ml/openai_whisper/pod_transcriber/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2b1949f

Please sign in to comment.