Skip to content

Commit

Permalink
ocr: fix modal.Image#run_function ref path (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnorberg authored Jul 30, 2023
1 parent 73e1d16 commit ddc1cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 09_job_queues/doc_ocr_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#
# `donut` downloads the weights for pre-trained models to a local directory, if those weights don't already exist.
# To decrease start-up time, we want this download to happen just once, even across separate function invocations.
# To accomplish this, we use the [`Image.run_function`](docs/reference/modal.Image#run_function) method, which allows
# To accomplish this, we use the [`Image.run_function`](/docs/reference/modal.Image#run_function) method, which allows
# us to run some code at image build time to save the model weights into the image.

CACHE_PATH = "/root/model_cache"
Expand Down

0 comments on commit ddc1cb7

Please sign in to comment.