Skip to content

Commit

Permalink
Updated some text
Browse files Browse the repository at this point in the history
  • Loading branch information
freider committed Nov 26, 2024
1 parent 36eaa7e commit 9080b89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion 06_gpu_and_ml/comfyui/comfyapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
# ### Downloading models

# You can also use comfy-cli to download models, but for this example we'll download the Flux models directly from Hugging Face into a Modal Volume.
# Then on container start, we'll mount our models into the ComfyUI models directory.
# Then on container start, we'll mount our models Volume into the ComfyUI models directory.
# This allows us to avoid re-downloading the models every time you rebuild your image.

image = (
Expand Down
9 changes: 3 additions & 6 deletions 10_integrations/dbt/dbt_duckdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
# [the `dbt-duckdb` docs](https://github.com/jwills/dbt-duckdb#configuring-your-profile).



# We also define the environment our application will run in --
# a container image, as in Docker.
# See [this guide](https://modal.com/docs/guide/custom-container) for details.
Expand All @@ -65,9 +64,7 @@
)
# Here we add all local code and configuration into the Modal Image
# so that it will be available when we run DBT on Modal.
.add_local_dir(
LOCAL_DBT_PROJECT, remote_path=PROJ_PATH
)
.add_local_dir(LOCAL_DBT_PROJECT, remote_path=PROJ_PATH)
.add_local_file(
local_path=LOCAL_DBT_PROJECT / "profiles.yml",
remote_path=f"{PROFILES_PATH}/profiles.yml",
Expand Down Expand Up @@ -163,8 +160,8 @@ def create_source_data():
# below, we import the `dbt` library's `dbtRunner` to pass commands from our
# Python code, running on Modal, the same way we'd pass commands on a command line.
#
# Note that this Modal Function has access to our AWS Secret,
# the `mount`ed local files with our DBT project and profiles,
# Note that this Modal Function has access to our AWS S3 Secret,
# the local files associated with our DBT project and profiles,
# and a remote Modal Volume that acts as a distributed file system.


Expand Down

0 comments on commit 9080b89

Please sign in to comment.