Skip to content

Commit

Permalink
update pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchtr committed Mar 6, 2024
1 parent f5347f0 commit fd24404
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/pipeline.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -336,10 +336,10 @@
"outputs": [],
"source": [
"image_urls = prompts.apply(\n",
" \"retrieve_images_from_faiss_index_by_prompt\",\n",
" \"retrieve_from_faiss_by_prompt\",\n",
" arguments={\n",
" \"url_mapping_path\":\"gs://soy-audio-379412-embed-datacomp/12M/id_mapping\",\n",
" \"faiss_index_path\":\"gs://soy-audio-379412-embed-datacomp/12M/faiss\",\n",
" \"url_mapping_path\":\"hf://datasets/fondant-ai/datacomp-small-clip/id_mapping/id_mapping\",\n",
" \"faiss_index_path\":\"hf://datasets/fondant-ai/datacomp-small-clip/faiss\",\n",
" \"num_images\": 2\n",
" },\n",
")\n",
Expand Down
6 changes: 3 additions & 3 deletions src/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
)

image_urls = prompts.apply(
"retrieve_images_from_faiss_index_by_prompt",
"retrieve_from_faiss_by_prompt",
arguments={
"url_mapping_path":"gs://soy-audio-379412-embed-datacomp/12M/id_mapping",
"faiss_index_path":"gs://soy-audio-379412-embed-datacomp/12M/faiss",
"url_mapping_path":"hf://datasets/fondant-ai/datacomp-small-clip/id_mapping/id_mapping",
"faiss_index_path":"hf://datasets/fondant-ai/datacomp-small-clip/faiss",
"num_images": 2
},
)
Expand Down

0 comments on commit fd24404

Please sign in to comment.